# Socket Read

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-communications/socket-read
>
> Reads data from a socket, optionally coded, with timeout, returning the data and the remote address and port.

Reads data in a specified socket.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

### Parameters

* **Socket** _\<unquoted string> -_ The identification of the socket that user wants to reads data. 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.
* **Coded** _\<unquoted string> -_ This parameter defines if the data to read in the socket is coded or not. The possible options for this parameter are: _Yes_, _No_ or _dynamic_.
* **Timeout** _\<numeric> -_ The timeout in milliseconds defined for this serial port.
* **Target Data** _\<unquoted string> -_ The control or variable where the data readed is saved.
* **Target Address** _\<unquoted string> -_ The control or variable where the IP address of the socket is saved. It can return IPV4 addresses mapped as IPV6 like ::ffff:192.168.1.1
* **Target Port** _\<unquoted string> -_ The control or variable where the Port of the socket is saved.

:::warning
The parameters **Target Address** and **Target Port** only need to be defined if the user uses UDP sockets.
:::
