Class: NetNameResolver (in Comanche)
date: 2003/08/29 17:04:27
- user: cg
- file: NetNameResolver.st directory: goodies/webServer/comanche/swiki
- module: stx stc-classLibrary: swiki
addressForName: hostName timeout: secs
Look up the given host name and return its address. Return nil if the address is not found in the given number of seconds.
nameForAddress: hostAddress timeout: secs
Look up the given host address and return its name. Return nil if the lookup fails or is not completed in the given number of seconds. Depends on the given host address being known to the gateway, which may not be the case for dynamically allocated addresses.
Return a string representing the given host address as four decimal bytes delimited with decimal points.
NetNameResolver stringFromAddress: NetNameResolver localHostAddress