Brew MP 1.0.2
This function performs a passive open for connections, such that incoming connections
may be subsequently accepted.
The socket must be a TCP socket that has been bound to a local port. The nMaxBacklog
parameter indicates the maximum length for the queue of pending connections. If
nMaxBacklog is less than one, it will be silently increased to one. If nMaxBacklog
is larger than the system maximum, it will be silently reduced to the system maximum.
int ISOCKET_Listen(ISocket * ps, int nMaxBacklog);
AEE_NET_SUCCESS: The socket has been placed in listening mode.
AEE_NET_WOULDBLOCK: Unable to listen now; try again later.
AEE_NET_ERROR: The operation failed. The specific error code can
be retrieved by calling ISOCKET_GetLastError().