Selecting configuration data sets

The resolver code and other services that execute as part of the socket program address space to service calls such as gethostbyname(), getservbyname() and getprotobyname() allocate one or more resolver configuration files to service these calls. All socket programs, including standard servers and clients and homegrown socket programs, need access to resolver configuration files. For information on how the resolver configuration files are found and used, see Configuration files for TCP/IP applications.