*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: listen | Section: 2 | Source: MINIX | File: listen.2
LISTEN(2) System Calls Manual 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 ac- cept(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)

Navigation Options