C@PingICMP协议 publicstringPingHost(stringhost) { //声明IPHostEntry IPHostEntryServerHE,fromHE; intnBytes=0; intdwStart=0,dwStop=0; //初始化ICMP的Socket Socketsocket= newSocket(AddressFami