1. Obtain the NIC device name. The name is not shown in Ipconfig, but it needs to call the function Pcap_findalldevs.
The 2.WINPCAP captures the dial-up network data such as 3G network cards and needs to install netmon,http://www.microsoft.com/en-us/download/details.aspx?id=4865.
3.winpcap only supports Visual C + + by default.
4.winpcap to Dial-Up Networking PPP only supports the XP system. If you want to capture 3G packets above Vista, you can purchase a 3G network card that converts 3G data to Ethernet, such as HUAWEI E8131 Wi-Fi cat.
5.WINPCAP website claims to capture Wi-Fi packets need to buy airpcap, but I use the laptop comes with the wireless card can grab the package, just listed the network card device description is Microsoft. There may be multiple network cards described as Microsoft in the Win7 notebook, and you can try each one to see which is your wireless card.
The following error may occur with the sample program compilation for 6.winpcap:
<span style= "FONT-SIZE:14PX;" > Error c2054:expected ' (' to follow ' _w64 ' </span>
please refer to the following blog post: http://blog.csdn.net/libinjlu/article/details/38396575, there are questions you can leave with me:).
7. Sometimes the WinPcap program may only list the network card device, but cannot grasp the package, can re-install the WinPcap drive can solve.
8.winpcap FAQ Official Answer: http://www.winpcap.org/misc/faq.htm
WinPcap Usage Precautions and FAQs