TcpIp_ReadAllText
Receives text from a connected socket until the other side closes connection.
Syntax
C++
Python
def TcpIp_ReadAllText( inSocket: int, /, *, inTimeout: int | None = None ) -> ( outText: str | None, outEof: bool )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSocket | int | Connected socket ID, will be closed if successfully read. | ||
![]() |
inTimeout | int | None | 0 - ![]() |
None | Timeout in milliseconds, block if not specified. |
![]() |
outText | str | None | Received data as textual string, or Nil if the operation was interrupted by timeout. | ||
![]() |
outEof | bool | Indicates whether the operation successfully read data to the end of stream. |



