Hi everyone,
I'm using the Windows port of libpcap, winpcap, available from
http://netgroup-serv.polito.it/winpcap/
I'm running WinNT 4.0 SP5. When I loop using pcap_loop(), I must press Ctrl-C to end
the program but sometimes, pressing Ctrl-C results in a Windows blue screen of death
stating that an exception was not handled by packet.sys (the winpcap packet capture
driver). Sometimes, pressing Ctrl-C works fine (the program terminates normally).
The problem seems to occur less often if I specify a restrictive capture filter, which
leads me to believe that the crash only occurs when the program is interrupted while
it's capturing a packet or perhaps, writing it to the packet buffer.
This problem occurs even with the provided example program, pktdump.c, so my code
can't be at fault. Is this a known problem with winpcap, and how can I fix it?
Thanks,
Nick
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe