Description: I am sure we all played SOCKET programming, use CSocket for network communication is very convenient, but sometimes want to point at the bottom of things is very troublesome, with the lowest API of windows can only SOCK_RAW, at most able to see IP layer data, if you want to deal with data link layer data can never gain the upper hand, and fortunately found one day things WinPcap. Deal with it on the bottom of things very convenient. WinPcap has two main dll programmers for direct call, pcap.dll and packet.dll, the main use of this procedure pcap.dll. details please see the code, and I was a刚接触WinPcap, so one has some mistakes in the indeterminate place, please not a laughing stock of shrimp. If the program does not have to compile the last place, be sure to press installed Winpcap library updated VC6 the PlatformSDK
File list (Check if you may need any files):