Open System Services Porting Guide (G06.24+, H06.03+)

Table Of Contents
Porting or Migrating Sockets Applications
Open System Services Porting Guide520573-006
11-10
Interoperability of OSS and Guardian Sockets in an
OSS Application
Unless nowait (nonblocking) sockets input/output is used, you can sometimes structure
a Guardian application with feature- test macros such that it can be recompiled without
semantic changes for execution in the OSS environment.
inet_makeaddr()
Combines a network address and local address
into an Internet address
inet_netof()
Breaks apart an Internet address and returns the
network portion
inet_network()
Converts an Internet address from dotted-decimal
format and returns the network address portion in
integer format
inet_ntoa()
Converts an Internet address from binary to
dotted-decimal format
inet_ntop()
Converts a binary internet address to a character
string
inet_pton()
Converts a character string to an IPv6 or IPv4
binary address
Table 11-3. Additional Internet Domain Support Functions (page 3 of 3)
Function Description