Introduction - If you have any usage issues, please Google them yourself
I refer to the Guide WinPcap realize a Winpcap capture tool, which can capture all the packets the machine, together with a certain file format into a out.txt.
Packet : 63535325winpcap_test.rar filelist
winpcap_test\winpcap_test.opt
winpcap_test\StdAfx.h
winpcap_test\StdAfx.cpp
winpcap_test\winpcap_test.cpp
winpcap_test\ReadMe.txt
winpcap_test\winpcap_test.dsw
winpcap_test\winpcap_test.ncb
winpcap_test\winpcap_test.plg
winpcap_test\0806
winpcap_test\winpcap_test.dsp
winpcap_test\out.txt
winpcap_test\Debug
winpcap_test