[Winpcap-users] Partial packet after pcap_next_ex()

Jacek Jablonski yacek87 at gmail.com
Thu Feb 12 18:05:18 GMT 2009


Hi!
I have some problem in my application. This, is how I initialize session:
pcapHandle =  pcap_open_live("some device name", 60000, 1, 2000, errBuf);

Then I read packets using pcap_next_ex(). The problem is that the
packet contain some text. I am trying to capture it, but only some
part of it is being captured, then there is a garbage. After next
pcap_next_ex() there is just the rest of this text. What is wrong? In
linux I can read whole text using the same code. Please help.
Greetings,
Yacek


More information about the Winpcap-users mailing list