Netprog 2002   DNS
70
Additional InetAddress methods
•getAddress() returns the IP address.
– in byte array format (network byte order), with highest byte at bytearray[0].
–
•getAllByName(hostname) returns an array of InetAddress instances for the given host name. 
–One host name may be mapped to multiple machines.
–One host name can map to multiple addresses in the same machine (virtual addresses).