Returns address or name information about a given host.
A number or a string.
A list of keywords.
Values, one for each field.
Using whatever host naming services are configured on the current machine,
returns address or name information about the given host.
is returned if the host is unknown.
The host argument can be one of the following:
a name string, for example
a dotted inet address string, for example
a integer representing the inet address, for example
The fields argument is a list of keywords describing what information to return for the host. If
succeeds, it returns multiple values, one value for each field specified. The following fields are allowed:
The primary IP address as an integer.
A list of all the IP addresses as integers.
The primary name as a string.
The alias names as a list of strings.
CL-USER 16 > (comm:get-host-entry "www.altavista.com"
CL-USER 17 > (comm:get-host-entry 3511264349
CL-USER 18 > (comm:get-host-entry "altavista.com"
LispWorks Reference Manual - 25 Jul 2003