[Previous] [Contents] [Index] [Next]

endhostent()

Close the TCP connection and the hosts file

Synopsis:

#include <netdb.h>

void endhostent( void );

Library:

socket3r.lib, socket3s.lib

Description:

The endhostent() routine closes the TCP connection and the hosts file.

Files:

/etc/hosts
Host database file.

Classification:

Standard Unix, POSIX 1003.1g (draft)

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

gethostbyaddr(), gethostbyname(), gethostent(), hostent, sethostent()

/etc/hosts, /etc/resolv.conf, named in the TCP/IP User's Guide


[Previous] [Contents] [Index] [Next]