Hi all, I have one thread that sits in pcap_loop() and another thread that calls pcap_breakloop() when it is time to shut down. My code works well on Windows (WinPcap 3.1). On Linux (libpcap 0.9.4, kernel 2.6.16) the pcap_loop() doesn't return after calling pcap_breakloop() until another packet arrives. Is this expected or proper behavior? How can I tell Linux to return from that readfrom() call that it's blocking on?
Thank you! Richard - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.