Given The Address,Find the Hostname
Given The Address,Find the Hostname Program: import java.net.*; public class ReverseTest { public static void main (String[] args) { try { InetAddress ia = InetAddress.getByName("192.168.64.3"); System.out.println(ia.getHostName( )); } catch (Exception e) { System.err.println(e); } } } Output: uaa.03521_in_f4.leloo.net
Tags:
Network
0 comments