l***@yahoo.com
2010-03-04 02:06:48 UTC
Hi all,
I have a pcap_loop function in another function, that captures packets
until the user stops it, i.e.
void functionA()
{
pcap_loop(handle, -1, callback, NULL);
...
}
Is it possible to stop the packet capturing process, and return to
functionA()? I've used Ctrl-C but that just terminates the whole
program.
Thank you.
Regards,
Rayne
I have a pcap_loop function in another function, that captures packets
until the user stops it, i.e.
void functionA()
{
pcap_loop(handle, -1, callback, NULL);
...
}
Is it possible to stop the packet capturing process, and return to
functionA()? I've used Ctrl-C but that just terminates the whole
program.
Thank you.
Regards,
Rayne