ICMP协议仿真C++代码,// TODO: Add your command handler code here if (IsRun) { MessageBox("网络监测时,不能网段探测!","提示"); return; } CNetIpDlg dlg; if(dlg.DoModal()==IDOK) { char temp[64]; sprintf(temp,"%s.1",dlg.m_IP); DWORD ip=0; if(CUserDlg::IsValidIp(temp)) { ip = CUse