I'm having a problem with my JNetPcap application getting hung up. I am running Eclipse under Windows XP, and using 1.2.rc4 version.
The app works fine most of the time, but then just hangs. I was able to track it down to where it works up to just before an ICMPv6 message (Wireshark description)
17 4.409616 fe80::30fa:5fc7:2ed3:694e ff02::2 ICMPv6 Router solicitation 2009-06-24 14:31:44.242222
Not sure if this message is the "poison pill" but its next in line to be processed just before it apparently hangs.
==================================
So I tried upgrading to 1.3 JNetPCap (beta version)... and it has the problem that EVERY call to hasHeader(payload) returns false...
Help with either or both of these items is most appreciated!
Can you clarify exactly which version you are working with? jnetpcap-1.3.b0003 is the latest dev release. It handles ip6 correctly, atleast to the point that all my ip6 junit testcases pass.
jnetpcap-1.3.b0001-milestone1-win32
This pcap version seemed to NOT hang, but something else changed and now when I call packet.hasHeader(payload), the function always returns false.
(So forget about the 1st half of my original post)
Thanks!