Hey guys,
I have a pcap_loop() running that has time constraints within the callback
function. My problem born here, when the time expires I have the program
return with -1 however when this occures it does not properly break from the
loop, it apears it breaks from the callback function continueing however it
doesn't return -1 to pcap_loop, therefore
if(pcap_loop() < 0) {
fprintf(stdout, "timeout exceeded\n");
}
will not work, does anyone have a way that I can get the callback function
to have pcap_loop() exit with -1???
thanks in advance
Iain McAleer
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe