A Java class representing an IP address. Has no public constructors. If you want to lay your hands on an object you'll have to use the getAllByName,getByName, or getLocalHost methods. These throw UnknownHostException
Java 1.0 had a problem with getting a host name from an IP address - you could use
InetAddress.getByName("206.02.56.122")

but the InetAddress would insist that this is the hosts name.

Log in or registerto write something here or to contact authors.