Good day to all of you.
My question is about the pcap library.
I want to know how I call the pcap_breakloop to stop the function pcap_loop from grabbing packets.
I want to see an example of the pcap_breakloop function.
I guess u want to know tht whn it can be used.
suppose u have added a line in ur code like
after that u have used pcap_loop. This will run continously. Now if in between SIGINT arises, u may want to stop capturing packets. then in ur cleanup u can pass pd and in it u can add
This way packet capturing will stop.
|All times are GMT -5. The time now is 01:25 AM.|