WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
status = %SS_LISTEN(socket[, backlog])
Returns SS_SUCCESS (0) or one of the errors in Error codes returned by %SS_LISTEN below. (n)
A descriptor of an open socket created by %SS_SOCKET. (i4)
(optional) Specifies the maximum number of pending connections (1 to 5) that may be queued on the stream socket at any given time. If not passed, the default is 5. (n)
%SS_LISTEN creates a queue for pending connection requests on socket. Connections can then be accepted with %SS_ACCEPT or %SS2_ACCEPT. If a connection request arrives with the queue full, the client receives a time-out.
%SS_LISTEN is used by stream socket server applications only.
See the Socket Errors table for additional information about these errors.