#include <nitroWiFi/soc.h>
int SOC_Listen ( int s, int backlog );
s |
Socket descriptor. |
backlog |
Specifies the maximum number of unprocessed connections in the socket's listen backlog queue. |
| 0 | Successful. |
SOC_EINVAL |
Invalid processing. (Starting the connection process, Not a TCP socket, etc.) |
SOC_ENETRESET |
Socket library is not initialized. |
SOC_EWOULDBLOCK |
Cannot execute until the requested operation is blocked. |
Note: Additional errors may be generated and returned in future library releases. Treat all negative return values as general errors.
This function was included for compatibility, but sockets in connection mode do not actually receive connections.
SOC_Socket, SOC_Bind, SOC_Connect, SOC_Accept
2005/12/12 Modified Description and Return Values.
2005/09/13 Initial version.
CONFIDENTIAL