HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)

s
socket(2) socket(2)
[EPROTOTYPE] The type of socket and protocol do not match.
[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.
IPv6 is supported on HP-UX 11i Version 1.0, with the optional IPv6 software installed. Currently, IPv6 is
not supported on systems running HP-UX 11i Version 1.6.
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), thread_safety(5), sctp(7P), socket(7), tcp(7P), udp(7P), unix(7P), xopen_networking(7).
STANDARDS CONFORMANCE
socket(): XPG4
HP-UX 11i Version 2: December 2007 Update 3 Hewlett-Packard Company 443