Open System Services Programmer's Guide

Table 21 OSS Interprocess-Communication-Related Functions (continued)
Guardian NotesOSS NotesOSS Function
inet_ntoa()
Translates an integer Internet address
into a character string in Internet dot
notation.
inet_ntop()
Converts a binary internet address to
a character value.
inet_pton()
Converts a character string to an IPv4
or IPv6 binary address.
ntohl()
Converts a 32-bit integer from Internet
network byte order to host byte order.
ntohs()
Converts a 16-bit integer from Internet
network byte order to host byte order.
Availability of database might require
system manager action.
sethostent()
Opens the network host database and
sets the next entry pointer to the first
entry in the database.
Availability of database might require
system manager action.
setnetent()
Opens the network database and sets
the next entry pointer to the first entry
in the database.
Availability of database might require
system manager action.
setprotoent()
Opens the protocols database and
sets the next entry to the first entry in
the database.
Availability of database might require
system manager action.
setservent()
Opens the network services database
and sets the next entry pointer to the
first entry in the database.
Guardian Interprocess-Communication Procedures
Guardian interprocess-communication procedures include those for use of:
Guardian sockets, as described in the TCP/IP Programming Manual for NonStop TCP/IP,
Parallel Library TCP/IP, and NonStop TCP/IPv6.
Shared memory
Binary semaphores
The requester/server $RECEIVE file method
Table 22 (page 204) displays information about each Guardian procedure that you can use for
interprocess communication using the latter three methods. Procedures that have been superseded
by other procedures are not shown. The columns of the table contain the following:
Guardian Procedure
The name of the procedure and a brief description.
Guardian Interprocess-Communication Procedures 203