Next: , Previous: Sockets.SocketAddress class-initialization, Up: Sockets.SocketAddress


6.20.8 Sockets.SocketAddress: accessing

= aSocketAddress
Answer whether the receiver and aSocketAddress represent the same machine. The host name is not checked because an IPAddress created before a DNS is activated is named after its numbers-and-dots notation, while the same IPAddress, created when a DNS is active, is named after its resolved name.


asByteArray
Convert the receiver to a ByteArray passed to the operating system's socket functions)


hash
Answer an hash value for the receiver


name
Answer the host name (or the digit notation if the DNS could not resolve the address). If the DNS answers a different IP address for the same name, the second response is not cached and the digit notation is also returned (somebody's likely playing strange jokes with your DNS).