For 10.10:
HP-UX 10.10 supports two sets of sockets behavior: HP-UX 10.01
and UNIX95 (X/Open Sockets). By default, you receive HP-UX 10.01
sockets. To use UNIX95, you must make an addition to your make
scripts by including the -l xnet
argument with the c89
or cc utilities.
You can also use the lint
utility to check for possible violations to the X/Open Sockets specification
by including -l xnet
to the argument list of the lint
utility.
You must also define the following for UNIX95 sockets behavior:
Refer to the BSD Sockets Interface Programmers Guide
for a list of supported calls for these two types of sockets behavior.
The manual summarizes differences between the two sets of sockets
behavior for each call.
For 10.0:
A new socket option has been added at 10.0 for more flexibility
in TCP/IP connections and to conform to RFC 1122, Requirements
for Internet Hosts. The new IP socket option, IP_TOS,
allows applications to set the IP Type-Of-Service flags, and may
affect the route chosen for IP packets over routers or gateways
that implement the IP type of service.
For more information, refer to the Berkeley IPC
Programmer's Guide and the ip(7p)
manpage.