eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'NetNameResolver':

Home

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

Class: NetNameResolver


Inheritance:

   Object
   |
   +--NetNameResolver

Package:
stx:libcompat
Category:
Compatibility-Squeak
Version:
rev: 1.9 date: 2022/07/16 13:24:14
user: cg
file: NetNameResolver.st directory: libcompat
module: stx stc-classLibrary: libcompat
Author:
cg

Description:


a facade to make filing in squeak code easier


[instance variables:]

[class variables:]


Related information:



Class protocol:

mimicri protocol
o  initializeNetwork
nothing done here

queries
o  addressForName: anAddressString
^ IPSocketAddress addressString:anAddressString

Usage example(s):

     NetNameResolver addressForName:'123.56.78.9' 
     NetNameResolver addressForName:'www.exept.de' 

o  addressForName: anAddressString timeout: seconds
NetNameResolver addressForName:'123.56.78.9'
NetNameResolver addressForName:'foo.bar.baz' timeout:2

o  localAddressString

o  localHostAddress

o  localHostName
^ IPSocketAddress localHost hostName

o  nameForAddress: aSocketAddress
NetNameResolver
nameForAddress:(NetNameResolver addressForName:'www.exept.de')

o  nameForAddress: aSocketAddress timeout: seconds
NetNameResolver
nameForAddress:(NetNameResolver addressForName:'www.exept.de')
timeout:2



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:41:14 GMT