摘要: InetAddress ip = InetAddress.getByName("www.baidu.com"); System.out.println("是否可达: "+ip.isReachable(2000)); System.out.println(ip.getHostAddress()); InetAddress local = In... 阅读全文
posted @ 2018-01-16 17:32 vector11248 阅读(129) 评论(0) 推荐(0)