Here is an excerpt from the ntohl man page:
SYNOPSIS:
#include <netinet/in.h>
_XOPEN_SOURCE_EXTENDED only
#include <arpa/inet.h>
unsigned long htonl (unsigned long hostlong);
unsigned short htons (unsigned short hostshort);
unsigned long ntohl (unsigned long netlong);
unsigned short ntohs (unsigned short netshort);
...
SEE ALSO
gethostent (3N), getservent (3N).
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html
