Contents

sock_listen

Declaration

errno_t sock_listen(socket_t so, int backlog);

Parameters

  • so:

    The socket.

  • backlog:

    The maximum length of the queue of pending connections.

Return Value

0 on success otherwise the errno error.

Discussion

Indicate that the socket should start accepting incoming connections. See 'man 2 listen'.

See Also

Network Kernel Extensions