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.
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.
libnet for the
complete source, including support routines and build files.)