[Winpcap-users] pcap_loop function problem

Gangadharan, Sandeep sandeep.gangadharan at hp.com
Tue Aug 12 07:22:23 GMT 2008

Hello David
                      The snaplen was actually 100. I made it 1500 now. Its working. Thanks for the clue..


From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of David Chang
Sent: Monday, August 11, 2008 10:02 PM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] pcap_loop function problem

What's your 'snaplen' for pcap_open_live()?  It's not 100 is it?

----- Original Message -----
From: Gangadharan, Sandeep<mailto:sandeep.gangadharan at hp.com>
To: winpcap-users at winpcap.org<mailto:winpcap-users at winpcap.org>
Sent: Monday, August 11, 2008 8:43 AM
Subject: [Winpcap-users] pcap_loop function problem

            I am using pcap_loop function to capture packet. Now In my callback function of pcap_loop I print the packet data. I compare the output of ethereal and my print data. I find that for packets size greater than 100bytes the packet dumps in ethereal and my program are different. Anyone pls tell me whats the problem. I am using winpcap 4.0.2.

Winpcap-users mailing list
Winpcap-users at winpcap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080812/8145771b/attachment-0001.htm

More information about the Winpcap-users mailing list