[Winpcap-users] pcap_loop function problem
David Chang
dchang at fsautomation.com
Wed Aug 13 01:44:55 GMT 2008
I think the Winpcap doc states that you may want to set it to 65535 to make sure you get all packets.
DC
----- Original Message -----
From: Gangadharan, Sandeep
To: winpcap-users at winpcap.org
Sent: Tuesday, August 12, 2008 12:22 AM
Subject: RE: [Winpcap-users] pcap_loop function problem
Hello David
The snaplen was actually 100. I made it 1500 now. Its working. Thanks for the clue..
Regards
Sandeep
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?
DC
----- Original Message -----
From: Gangadharan, Sandeep
To: winpcap-users at winpcap.org
Sent: Monday, August 11, 2008 8:43 AM
Subject: [Winpcap-users] pcap_loop function problem
Hello
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.
Thanks
sandeep
----------------------------------------------------------------------------
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
------------------------------------------------------------------------------
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080813/1f499595/attachment-0001.htm
More information about the Winpcap-users
mailing list