The tcpip.so library
The routines in this dynamic library create addresses from the
The hosts file contains the machine's IP address as the first field
followed by any number of machine names separated by white space.
#IP address machine name(s) (optional comment)
18.104.22.168 elvis # Located at Graceland
22.214.171.124 weeble wombat
file contains three fields:
``service name'', ``port/protocol'' (with one of two protocol
specifications either ``tcp'' or ``udp''),
#service name port/protocol aliases
time 37/tcp mail
time 37/udp mail
nntp 119/tcp usenet readnews untp
For an application to use this library to request
the address of a service on a particular
host, the host name must appear in the
/etc/hosts file and the service name must appear in
the /etc/services file.
If one or the other does not appear,
an error will be returned
by the name-to-address mapping routines.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004