|
Class: NetNameResolver (in Comanche)
Object
|
+--Comanche::NetNameResolver
- Package:
- stx:goodies/webServer/comanche/swiki
- Category:
- Comanche-Swiki-Squeak-Network-Kernel
- Version:
- rev:
1.9
date: 2003/08/29 17:04:27
- user: cg
- file: NetNameResolver.st directory: goodies/webServer/comanche/swiki
- module: stx stc-classLibrary: swiki
lookups
-
addressForName: aString
-
-
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.
-
stringFromAddress: addr
-
Return a string representing the given host address as four decimal bytes delimited with decimal points.
Usage example(s):
NetNameResolver stringFromAddress: NetNameResolver localHostAddress
|
|