Close the TCP connection and the hosts file
#include <netdb.h> void endhostent( void );
libsocket
Use the -l socket option to qcc to link against this library.
The endhostent() routine closes the TCP connection and the hosts file.
POSIX 1003.1