TcpIp_Accept
Accepts a connection from a remote client.
Syntax
C++
Python
def TcpIp_Accept( state: TcpIpAcceptState, inPort: int, /, *, inTimeout: int | None = None, inKeepAliveTime: int | None = None, inNoSendDelay: bool = False ) -> outSocket: int | None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | TcpIpAcceptState | |||
![]() |
inPort | int | 7 - 65535 | TCP port to listen on. | |
![]() |
inTimeout | int | None | 0 - ![]() |
None | Timeout in milliseconds, block if not specified. |
![]() |
inKeepAliveTime | int | None | 2000 - ![]() |
None | When specified activates Tcp/Ip keep alive on new socket with given idle time. |
![]() |
inNoSendDelay | bool | False | Disables the Nagle algorithm for the newly connected socket to send the outgoing packets without a delay. | |
![]() |
outSocket | int | None | Connected socket ID. |




