資源簡介
基于SNMP協議的網絡拓撲發現程序,有完整的代碼和詳細說明
代碼片段和文件信息
#include?“stdafx.h“
#include?“APCPingFunction.h“
#pragma?comment?(lib“ws2_32“)
void?ApcFunc(void?*i)
{
IcmpThreadStruct*?PIcmpThreadStruct=((ApcParament*)i)->PIcmpThreadStruct;
if(*PIcmpThreadStruct->Stop==false)
{
ICMP_ECHO_REPLY*?P_Icmp_Echo_Option=(ICMP_ECHO_REPLY*)i;
ULONG?DestIP=(ULONG)P_Icmp_Echo_Option->Address;
hostent?*HostInfo=NULL;
if(P_Icmp_Echo_Option->RoundTripTime<100000)
{
sprintf((char*)PIcmpThreadStruct->Buffer“host?Address:?%-15s;?Time?Spend:?%d?ms\r\n“NetIpToString((ULONG)P_Icmp_Echo_Option->Address)P_Icmp_Echo_Option->RoundTripTime);
}
else
{
sprintf((char*)PIcmpThreadStruct->Buffer“host?Address:?%-15s;?Time?Out\r\n“NetIpToString((ULONG)P_Icmp_Echo_Option->Address));
}
PIcmpThreadStruct->MessageHandler-
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3467??2006-12-27?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\APCPingFunction.cpp
?????文件???????1321??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\APCPingFunction.h
?????文件???????2523??2006-12-27?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\DataSupport.cpp
?????文件???????1172??2006-12-04?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\DataSupport.h
?????文件???????6180??2006-12-04?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\ExplorerThread.cpp
?????文件????????729??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\ExplorerThread.h
?????文件????????320??2006-12-04?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\FucntionGetRouterInfo.h
?????文件???????2669??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\FunctionGetRouterInfo.cpp
?????文件???????3484??2006-12-27?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\LeftView.cpp
?????文件???????1901??2005-12-21?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\LeftView.h
?????文件???????2687??2005-12-20?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\MainFrm.cpp
?????文件????????875??2005-12-18?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\MainFrm.h
?????文件?????147080??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorer.aps
?????文件???????3781??2005-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorer.cpp
?????文件????????500??2005-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorer.h
?????文件?????855040??2007-05-08?15:29??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorer.ncb
?????文件????????911??2005-10-20?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorer.sln
?????文件???????8192??2007-05-08?15:29??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorer.suo
?????文件???????6962??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorer.vcproj
?????文件???????1213??2005-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorerDoc.cpp
?????文件????????962??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorerDoc.h
?????文件??????12346??2006-12-27?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorerView.cpp
?????文件???????1781??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\NetExplorerView.h
?????文件???????1466??2005-12-20?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\PropertyDialog.cpp
?????文件????????646??2005-10-27?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\PropertyDialog.h
?????文件???????3319??2005-10-20?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\ReadMe.txt
?????文件????????869??2005-10-29?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\ReExplorerDialog.cpp
?????文件????????462??2005-10-29?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\ReExplorerDialog.h
?????文件???????2250??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\resource.h
?????文件???????3762??2006-12-19?08:00??第18章?基于SNMP協議的網絡拓撲發現程序\路由器拓撲發現程序\Code\ResultOfPingDlg.cpp
............此處省略18個文件信息
評論
共有 條評論