Thursday, February 22, 2007

How do I convert a numeric IP address like 192.18.97.39 into a hostname like java.sun.com? (Networking)

String hostname = InetAddress.getByName("192.18.97.39").getHostName();


SOURCE:www.referjava.com

No comments: