The services table stores the mapping of services to ports or ports to services as
shown in Figure 59. The mapping information is usually accessed with the
getservbyname() and getservbyport() socket functions.
Figure 59. Work with Service Table Entry Display
The protocol table stores the mapping of protocol names to protocol numbers and
protocol numbers to protocol names. Socket applications use getprotobyname() and
getprotobynumber() functions to access this table (Figure 60).
Figure 60. Work with Protocol Table Entry Display
66
OS/400 TCP/IP Configuration and Reference V5R1