Open System Services System Calls Reference Manual (G06.25+, H06.03+)

listen(2) OSS System Calls Reference Manual
[EDESTADDRREQ]
The socket is not bound to a local address, and the protocol does not support
listening on an unbound socket.
[EINVAL] One of the following conditions occurred:
The socket is already connected.
The socket has been shut down.
[ENOBUFS] There was not enough buffer space available to complete the call. A retry at a
later time may succeed.
[ENOMEM] Required memory resources were not available. A retry at a later time may
succeed.
[ENOTSOCK] The socket parameter does not refer to a socket.
[EOPNOTSUPP]
The socket specied by the socket parameter is not a type that supports the
listen() function.
RELATED INFORMATION
Functions: accept(2), connect(2), socket(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 specication:
The errno value [ECONNRESET] can be returned when the transport provider process
is unavailable.
The behavior when the backlog parameter is 0 (zero) is dened.
410 Hewlett-Packard Company 527186-003