Stringhost="192.168.1.181"
inttimeOut=3000;//超时应该在3钞以上
booleanstatus=InetAddress.getByName(host).isReachable(timeOut);
Stringhost="192.168.1.181"
inttimeOut=3000;//超时应该在3钞以上
booleanstatus=InetAddress.getByName(host).isReachable(timeOut);

被折叠的 条评论
为什么被折叠?