Learn about the original program for capturing receipt packages
Debug Microsoft Visual Studio 2010 first,
Project-- > * * attribute (alt+F7)
Configure properties-- > inventory tool-- > input and output-- > embed list-- > No
Project-- > * * attribute (alt+F7)
Configuration Properties-- > Cramp Cure colors-- > General-- > additional inclusion directories-- >
Project-- > * * attribute (alt+F7)
Configuration Properties-- > Linker-- > General-- > additional Library Directory-- >
Project-- > * * attribute (alt+F7)
Configure properties-- > linker-- > input-- > attach dependencies-- > supplement "; Packet.lib;wpcap.lib"
Project-- > * * attribute (alt+F7)
Configuration properties-- > Candlestick colors-- > preprocessor-- > preprocessor definition-- > supplement "; HAVE_REMOTE"
Then copy the code and run it in vs
Module
WinPcap user Guide
Get device list
Get advanced information about installed devices
Turn on the adapter and capture the packet
Capture packets without callback method
Filter packet
Analyze packet
Working with offline heap files
Send a packet
Collect and count network traffic
Define
Output function
Syntax for filtering string expressions
Programming with WinPcap
WinPcap tutorial: teaching you to use WinPcap step by step
WinPcap core materials
Structure and definition of NPF
NPF function
NPF driver Core Guide
Packet.dll-packet driven API
How to compile WinPcap
Remote capture
Output structure and definition
External function. For function references that provide remote capture, see "Windows-specific Extensions" in the WinPcap output functions section.
Core data structure and definition
This section is the beginning of understanding the program, and we will learn to call functions to implement some functions in the future.