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

spt_connectx(2) OSS System Calls Reference Manual
The pathconf( ) function can be called to obtain the applicable limits.
[ENETDOWN]
The local interface used to reach the destination is down.
[ENETUNREACH]
No route to the network or host is present.
[ENOBUFS] Not enough buffer space was available to complete the call. A retry at a later
time might succeed.
[ENOENT] The socket is in the AF_UNIX domain and one of the following conditions
exists:
A component of the pathname specied in the sockaddr structure does
not name an existing le.
The sockaddr structure species an empty string as a pathname.
[ENOMEM] Required memory resources were not available. A retry at a later time might
succeed.
[ENOTDIR] The socket is in the AF_UNIX domain and a component of the pathname
specied in the sockaddr structure is not a directory.
[ENOTSOCK] The socket parameter does not refer to a socket.
[EPROTOTYPE]
The specied address has a different type than that of the socket bound to the
specied peer address.
[ETIMEDOUT]
The attempt to connect timed out during connection establishment.
RELATED INFORMATION
Functions: accept(2), bind(2), connect(2), getsockname(2), select(2), send(2), sendmsg(2),
sendto(2), socket(2), spt_connect(2), spt_sendx(2), spt_sendmsgx(2), spt_sendtox(2).
STANDARDS CONFORMANCE
This function is an extension to the UNIX 98 specication. Interfaces documented on this refer-
ence page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header le spthread.h is an HP exception to the POSIX standard.
The XPG4 specication allows certain behaviors of connect() to be implementer-dened. For an
indication of the HP implementation behaviors, see the connect(2) reference page either online
or in the Open System Services System Calls Reference Manual.
7106 Hewlett-Packard Company 527186-007