2007年10月23日

使用java简单模拟ping和telnet的实现

摘要: 一.模拟ping的实现 利用InetAddress的isReachable方法可以实现ping的功能,里面参数设定超时时间,返回结果表示是否连上。 try ...{ InetAddress address = InetAddress.getByName("... 阅读全文

posted @ 2007-10-23 12:23 如果蜗牛有爱情 阅读(603) 评论(0) 推荐(0) 编辑

导航