SysSockListenΒΆ

This function of type BOOL calls the function listen of the operating system. This function will cause the socket to listen to connection requests and to queue them until they can be accepted by the SysSockAccept function.

In case of successful operation the function will return TRUE.

As soon as the maximum number of connection requests in the queue is exceeded the function will return FALSE.

Variable Data type Description
diSocket DINT

Descriptor of the socket, returned by SysSockCreate

(corresponding parameter e.g. in Win32: s)

diMaxConnections DINT

Maximum number of connection requests, which can be put in the input queue of the socket.

(corresponding parameter e.g. in Win32: backlog)