> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-communications/socket-connect.md).

# Socket Connect

Connect to a specified IP and port.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

*General*

* **Socket** *\<unquoted string> -* The identification of the socket that user wants to connect. There are several handlers for sockets from 1 to 10. It's also possible defined a socket dynamically by choosing option *dynamic* for this parameter.
* **Mode** *\<unquoted string> -* The communication mode for the defined socket. There are several options for this parameter:
  * 1 - TCP
  * 2 - UDP
  * 3 - Bluetooth This option will block Port and change IP/Name to MAC Address
  * 4 - TCP(TLS/SSL) This option will active tab Security
* **IP/Name** or **MAC Address***\<string> -* The IP address of the socket that the user wants to connect. MAC Address in case of Mode Bluetooth selected.
* **Port** *\<numeric> -* The port for the defined socket.
* **Timeout** *\<numeric> -* The timeout in milliseconds defined for this socket connection. The value 0 is this parameter means that there is no timeout.

*Security*

Client Authentication

* **Certificate File** *\<string> -* File path
* **Certificate File Password** *\<string> -* File path

Server Authentication

* **Ignore Untrusted Certificate***\<numeric> -* Yes/No
* **Ignore Invalid Certificate Name** *\<numeric> -* Yes/No
* **Certificate Fingerprint List** *\<string> -* List of Public Key SHA256 Hash for certificate pinning, separated by CR.
* **Public Key Fingerprint List** *\<string> -* List of Public Key SHA256 Hash for certificate pinning, separated by CR.

{% hint style="info" %}
The parameter **Timeout** is not supported in some systems and may take longer that what is defined is this action.
{% endhint %}

{% hint style="info" %}
For UDP sockets, if you specify "**:**" as the server **IP/Name**, then an unbound UDP socket for IPV6 is created.
{% endhint %}
