# Socket Accept

Accepts a socket connection on a specified port.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **Socket** *\<unquoted string> -* The identification of the socket that user wants to open. 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.
* **Port** *\<numeric> -* The port for the defined socket.
* **Mode** *\<unquoted string> -* The communication mode for the defined socket. There are several options for this parameter: *TCP*, *UDP* or *dynamic*.
* **Timeout** *\<numeric> -* The timeout in milliseconds defined for this serial port. The value 0 is this parameter means that there is no timeout.
* **Target Address** *\<unquoted string> -* The control or variable where the result of this action is saved. It can return IPV4 addresses mapped as IPV6 like ::ffff:192.168.1.1

{% hint style="warning" %}
This action does not support IPV6 on Windows CE/Mobile.
{% endhint %}

{% hint style="info" %}
On Win10, inbound connections from the local host are blocked.

To test you need to run the following command for KClient or adjusted for your compiled App:

**checknetisolation loopbackexempt -is -n=SysdevMobile.KClientV50\_whdsjj1dnhbm8**
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-communications/socket-accept.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
