[Winpcap-users] packet loss

Ioan Popescu ipopescu at dataq.com
Thu Apr 3 11:55:12 GMT 2008


Maria de Fatima Requena wrote:
> Hi
> 
> I am implementing a skinny sniffer, and while debugging, some packets are jumped. 
> 
> It seems that the problem is in the fast the network is. I mean, I can't read packets as soon as they arrive. Anyway, wireshark does. How could I possibly manage to read those quick packets?

The problem might have to do with debugging. Running a program in a debugger 
slows it down considerably. Depending on the network traffic, this might be 
a problem.

The other possibility is slow disk writing. Try buffering the data into 
bigger "blocks" before writing to disk.


More information about the Winpcap-users mailing list