listen \- listens for incoming connections on a socket
int listen(int \fIsd\fP, int \fIbacklog\fP);
listen() puts socket \fIsd\fP into the listening state.
\fIbacklog\fP number of incoming connections may be
queued before new incoming connections are refused.
This function is usually called after bind(2) and before
On success, this function returns 0. On error, -1 is returned and
The socket is invalid or bind(2) has not been called yet
The socket type (example SOCK_DGRAM) does not support listening.
The socket does not support listening.