Next: , Previous: , Up: Sockets.SocketAddress   [Index]


6.20.2 Sockets.SocketAddress class: accessing

anyLocalAddress

Answer an IPAddress representing a local address.

at: host cache: aBlock

Private - Answer the list of addresses associated to the given host in the cache. If the host is not cached yet, evaluate aBlock and cache and answer the result.

defaultDatagramSocketImplClass

Answer the class that, by default, is used to map between the Socket’s protocol and a low-level C interface.

defaultDatagramSocketImplClass: aClass

Set which class will be used by default to map between the receiver’s protocol and a low-level C interface.

defaultRawSocketImplClass

Answer the class that, by default, is used to map between the Socket’s protocol and a low-level C interface.

defaultRawSocketImplClass: aClass

Set which class will be used by default to map between the receiver’s protocol and a low-level C interface.

defaultStreamSocketImplClass

Answer the class that, by default, is used to map between the Socket’s protocol and a low-level C interface.

defaultStreamSocketImplClass: aClass

Set which class will be used by default to map between the receiver’s protocol and a low-level C interface.

isDigitAddress: aString

Answer whether the receiver can interpret aString as a valid address without going through a resolver.

localHostName

Answer the name of the local machine.

loopbackHost

Answer an instance of the receiver representing the local machine (127.0.0.1 in the IPv4 family).

unknownAddress

Answer an instance of the receiver representing an unknown machine (0.0.0.0 in the IPv4 family).


Next: , Previous: , Up: Sockets.SocketAddress   [Index]