net_util - Miscellaneous Network Functions
The NET_UTIL package is a collection of miscellaneous network functions
primarily intended to isolate operating system dependencies in networking code.
Public Procedures
netAddrOf() - translates a host name to the host's IP address.
netHostOf() - translates an IP address to its host name.
netPortOf() - translates a service name to its server port.
netServerOf() - translates a server port to its service name.
Source Files
-
net_util.c
-
net_util.h
(See libnet for the
complete source, including support routines and build files.)