Open System Services Programmer's Guide

Table 21 OSS Interprocess-Communication-Related Functions (continued)
Guardian NotesOSS NotesOSS Function
Availability of database might require
system manager action.
getprotoent()
Gets the next protocol entry.
Availability of database might require
system manager action.
getservbyname()
Gets a network services entry by
name.
Availability of database might require
system manager action.
getservbyport()
Gets a network services entry by port
number.
Availability of database might require
system manager action.
getservent()
Gets the next entry in the network
services database.
if_freenameindex()
Frees dynamic memory allocated by
the if_nameindex function.
if_indextoname()
Maps an interface index to its
corresponding name.
if_nameindex()
Gets all interface names and indexes.
if_nametoindex()
Maps an interface name to its
corresponding index.
htonl()
Converts a 32-bit integer from host
byte order to Internet network byte
order.
htons()
Converts a 16-bit integer from host
byte order to Internet network byte
order.
inet_addr()
Constructs an integer Internet address
from a character string in Internet dot
notation.
inet_lnaof()
Extracts the local network address from
an Internet host address.
inet_makeaddr()
Constructs an integer Internet address
from an Internet network number and
a local network address.
inet_netof()
Extracts the network number from an
Internet host address.
inet_network()
Translates a character string in Internet
dot notation to an Internet network
address.
202 Interprocess Communication