SysSock2Listen (FUN)ΒΆ
FUNCTION SysSock2Listen : RTS_IEC_RESULT
Listen on a TCP server socket for new connection.
- InOut:
Scope
Name
Type
Comment
Return
SysSock2ListenRTS_IEC_RESULTRuntime system error code (see CmpErrors.library).
Input
hSocketRTS_IEC_HANDLEHandle to the socket
diMaxConnectionsDINTMaximum number of connections allowed