Three database files are kept in the sys:\etc directory on the NetWare server:
services—contains information regarding known services available on the NetWare server. Each service is assigned an official name, a port number, a protocol name, and aliases (if assigned).
protocols—contains information regarding known protocols in use on the NetWare server. Each protocol is assigned an official name, a number, and aliases (if assigned).
hosts—contains the mapping of some hostnames to IP addresses. Each entry contains an IP address, the hostname, and an alias (if assigned). This file always contains a mapping for the local host.
The following functions allow you to retrieve information from these files and from your host machine.