Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
connect(2) OSS System Calls Reference Manual
[ECONNRESET]
One of these conditions occurred:
• The transport-provider process for this socket is no longer available.
• The TCP/IP subsystem for this socket is no longer available.
• The connection was forcibly closed by the peer socket.
The socket can only be closed.
[EFAULT] A user-supplied memory buffer cannot be accessed.
[EHOSTUNREACH]
The destination host cannot be reached.
[EINPROGRESS]
The socket is marked nonblocking (O_NONBLOCK is set) and the requested
connection is not yet completed. The connection will be completed asynchro-
nously.
[EINTR] The attempt to connect was interrupted by delivery of a signal. The connection
will be completed asynchronously.
This error is also returned if the connect) function is thread-aware and a signal
received from the pthread_kill() function is not blocked, ignored, or handled.
[EINVAL] One of the following conditions exists:
• The size specified for the address_len parameter is not valid for an
address in the address family that is used by this connection.
• The sockaddr structure contains an invalid address family.
[EIO] The socket is in the AF_UNIX domain and an I/O error occurred during a read
or write to the file system.
[EISCONN] The specified socket is connection-oriented and is already connected.
[ELOOP] The socket is in the AF_UNIX domain and too many symbolic links were
encountered in translating the pathname in the sockaddr structure.
[ENAMETOOLONG]
The socket is in the AF_UNIX domain and one of the following conditions
exists:
• The pathname in the sockaddr structure exceeds PATH_MAX charac-
ters.
• A component of the pathname in the sockaddr structure exceeds
NAME_MAX characters.
• The intermediate result of pathname resolution when a symbolic link is
part of the pathname in the sockaddr structure exceeds PATH_MAX
characters.
The pathconf( ) function can be called to obtain the applicable limits.
1−40 Hewlett-Packard Company 527186-023