listen

#include <wsvv.h>

int PASCAL FAR listen(s, backlog)
SOCKET s; /* bound, unconnected socket to listen on */
int
backlog; /* size of queue for pending connections */

Establish a socket to listen for incoming connection.

Addendum

An application must call the bind function before it calls the listen function.

See Also

accept, bind, connect, socket