Capturing all IP packets in LAN through programing with winsock
WU Yong-jun · Jisuanji gongcheng yu sheji · 2004
The problem of capturing all packets of high-speed network is how to fast handle packets and reduce packet losses. Creating links could handle packets in bulk,so the overhead of creating threads could be reduced.Through creating threads,the analysis of packets and the capture of packets could be done in parallel.In the capturing process,the lost packts the rate of packets loss could be given by counting the lost packes.While creating thread failed the loss of packet could be reduced by repeating.In 100Mbps LAN,the losses of packet is lower than 5%.