[Winpcap-users] pcap_stas

Guy Harris guy at alum.mit.edu
Mon Jul 20 00:47:58 PDT 2009


On Jul 20, 2009, at 12:09 AM, Prasanna Kumar Nelam wrote:

> Is there any difference of working of pcap_stats in winpcap and  
> libpcap.

The behavior of pcap_stats() is somewhat platform-dependent.

> Whenever I use this function in windows for the statestics it is  
> giving the count, every time I call this API, it is giving the num  
> of packets from start of run.
> But in libpcap, it is giving pcap recv packets as 1 or 2 and drop is  
> 0.

In libpcap on what operating system?  Linux?  Solaris?  *BSD/Mac OS  
X?  Some other operating system?



More information about the Winpcap-users mailing list