Open System Services System Calls Reference Manual (G06.28+)

spt_connectx(2) OSS System Calls Reference Manual
[EALREADY] A connection request is already in progress for the specied socket.
[EBADF] The socket parameter is not a valid le descriptor.
[ECONNREFUSED]
The specied address is not listening for connections or rejected the attempt to
connect.
[ECONNRESET]
One of the following 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.
[EINVAL] One of the following conditions exists:
The size specied 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 le system.
[EISCONN] The specied 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.
7102 Hewlett-Packard Company 527186-005