tcpdump mailing list archives
problem with pcap_breakloop while live capture
From: "Pradeep Kumar PALAPARTHY" <p.pradeep09 () gmail com>
Date: Tue, 21 Nov 2006 08:30:07 +0530
Hi All,
I am using pcap library to capture the live packets. I have have a thread which captures the packets. In the pcap_dispath iam passing the cnt as -1 since i want to capture for infinitely. But when i use the pcap_breakloop to come out of capture, its not coming out of the capture thread & going into hang state. How do i break the loop. Is there any way to come out of infinite loop. Any help will be appreciated. Thanks in advance, Pradeep
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- problem with pcap_breakloop while live capture Pradeep Kumar PALAPARTHY (Nov 17)
- problem with pcap_breakloop while live capture Pradeep Kumar PALAPARTHY (Nov 20)