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.

Reply via email to