socket.2 (2010 09)

s
socket(2) socket(2)
[ESOCKTNOSUPPORT] The specified socket type is not supported in this address family.
[ETIMEDOUT] Connection timed out.
WARNINGS
Not all possible errno values are documented in each socket related manpage due to dependencies from
the underlying protocol modules. Refer to the errno(2) manpage for a complete list of error codes.
Linking binary objects compiled to X/Open Sockets specification and binary objects compiled to HP-UX
BSD Sockets specification to the same executable may result in unexpected behavior, including applica-
tion abnormal termination and unexpected socket errors. See xopen_networking(7) for details and
remedy.
FUTURE DIRECTION
Currently, the default behavior is the HP-UX BSD Sockets; however, it might be changed to X/Open
Sockets in a future release. At that time, any HP-UX BSD Sockets behavior that is incompatible with
X/Open Sockets might be obsoleted. Applications that conform to the X/Open specification now will
avoid migration problems (see xopen_networking(7)).
AUTHOR
socket() was developed by HP and the University of California, Berkeley.
SEE ALSO
accept(2), bind(2), connect(2), getsockname(2), getsockopt(2), ioctl(2), listen(2), recv(2), select(2), send(2),
shutdown(2), privileges(5), thread_safety(5), route(7P), socket(7), sctp(7), TCP(7P), UDP(7P), UNIX(7P),
xopen_networking(7).
STANDARDS CONFORMANCE
socket(): XPG4, UNIX 95, UNIX 03
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3