eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::NetNameResolver':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: NetNameResolver (in Comanche)


Inheritance:

   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

Class protocol:

lookups
o  addressForName: aString

o  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.

o  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.

o  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



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:59:09 GMT