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

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

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