Hi,
 
I'm using Winpcap 3.0 and comparing the number of times my callback routine gets called versus the number that pcap_stats() returns.
 
They are quite different.
 
For example, after running my application for 16 hours, the number of calls to my callback routine is: 5558989, but the number of packets received via pcap_stats() is: 5704481.  That's a difference of 145492 packets.  What are those extra packets that Winpcap sees but doesn't call the callback routine with?
 
Is there anything I've done in the application to be off this much?
 
Lastly, I think I might be dropping packets, but pcap_stats() tells me I'm not (0 packets dropped).  I've already changed the kernel buffer to 2MB rather than 1MB.  How accurate is pcap_stats() about dropping packets?
 
DC
 

Reply via email to