INFO: IP Helper APIs Add Net Config and Stat Info to Win32 Apps ID: Q193059 ARP Table Class This class provides access to the address resolution protocol (ARP) entries by mapping from an IP address to a physical address. The IP Helper APIs available for Windows NT 4.0 Service Pack 4 are listed below: GetIpNetTable: Retrieves address resolution table information. SetIpNetEntry: Adds entry to the ARP table. DeleteIpNetEntry: Deletes entry from the ARP table.
控制台窗口就行了
ID: Q193059
ARP Table Class
This class provides access to the address resolution protocol (ARP) entries by mapping from an IP address to a physical address. The IP Helper APIs available for Windows NT 4.0 Service Pack 4 are listed below:
GetIpNetTable: Retrieves address resolution table information.
SetIpNetEntry: Adds entry to the ARP table.
DeleteIpNetEntry: Deletes entry from the ARP table.
DWORD ret = ::GetIpNetTable(&mi,sizeof(MIB_IPNETTABLE),true);
if(ret==NO_ERROR){
//
}
else{
//
}