listen man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

LISTEN(2)							     LISTEN(2)

NAME
       listen - listens for incoming connections on a socket

SYNOPSIS
       #include <sys/socket.h>

       int listen(int sd, int backlog);

DESCRIPTION
       listen()	 puts  socket  sd into the listening state.  backlog number of
       incoming connections may be queued before new incoming connections  are
       refused.	  This	function  is  usually  called after bind(2) and before
       accept(2).

RETURN VALUES
       On success, this function returns 0. On error, -1 is returned and errno
       is set.

ERRORS
       [EINVAL]	      The socket is invalid or bind(2) has not been called yet
		      for the socket.

       [EOPNOTSUPP]   The socket type (example SOCK_DGRAM)  does  not  support
		      listening.

       [ENOSYS]	      The socket does not support listening.

SEE ALSO
       accept(2), bind(2), socket(2)

								     LISTEN(2)
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net