| Allegro CL version 7.0 Unrevised from 6.2 to 7.0. Moderate update since 7.0 release. | |||||||||
Arguments: host &key ignore-cache
host should be a string naming a host, a 32-bit
IP address, or a string in dotted form. This function returns the
32-bit IP address for the host. An error is signaled if the host can't
be found. See the documentation for *dns-mode* for information on the manner
in which name resolution occurs.
To enhance performance, lookup-hostname caches answers to queries and reuses those answers for subsequent lookups of the same name. If the IP address associated with a given hostname has changed since the information was cached, lookup-hostname may return out-of-date information. If the ignore-cache argument is specified true, then lookup-hostname will not use its cache to answer the query.
See also *dns-mode*.
See socket.htm for general information on sockets in Allegro CL.
Copyright (c) 1998-2006, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 7.0. This page was not revised from the 6.2 page.
Created 2004.8.21.
| Allegro CL version 7.0 Unrevised from 6.2 to 7.0. Moderate update since 7.0 release. | |||||||||