探测网络设备(主机、路由器)存活的方法
//=======================ping-test============================void ping_test(char *ipaddress){ //add by sun-1014 char command[100]="ping -c 5 "; char ipaddr[20]; strcpy(ipaddr,