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

connect(2) OSS System Calls Reference Manual
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), getsockname(2), select(2), send(2), sendmsg(2), sendto(2),
socket(2).
STANDARDS CONFORMANCE
The XPG4 specication allows certain behavior to be implementer-dened. The following are
choices of the HP implementation:
The HP implementation does not return the errno values [ENOSR] or [EOPNOTSUPP].
The following are HP extensions to the XPG4 specication:
The errno value [ECONNRESET] can be returned when the transport-provider process
is unavailable.
130 Hewlett-Packard Company 527186-003