[Winpcap-users] How to exit pcap_loop?

Goran Štrok goran.strok at uni-mb.si
Thu Apr 26 08:39:03 GMT 2007


I want to end pcap_loop when push any (or specific) button on keyboard. How is this possible? Any suggestion? I use:
pcap_loop(handle, -1, got_packet, (unsigned char *)file4);


and want to capture packets until one of button is pushed. Maybe any other function? 

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20070426/23e0957b/attachment.htm


More information about the Winpcap-users mailing list