Hi,

In my application, I want to catch only one packet quickly. But if I set 
timeout to 0 in pcap_open_live(), pcap_loop() never (or before I 
pressed ctrl-c) returns. If I set it to -1, pcap_open_live() fails. Is 
there a way to tell the filtering engine return a packet as soon as it arrives?

thanks

---
beichuan

-
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

Reply via email to