The concept of network data packet and its capture are introduced.And the experiment procedure of the packet capture based on the WinPcap was designed.The dual-thread model was adopted to solve the problem of WinPcap packet loss.A network sniffer system software was designed and implemented.And the main principle of packet capture module was explained.The test results show that the sniffer system can effectively capture the network data on real time,analyze and show the related parameters such as data protocol type,data content and data flow.