I had changed it to 0 last night, because the program would not run if to_ms was -1. I'm about to go home and check what happens if I change it to a 1.
On 6/9/05, Guy Harris <[EMAIL PROTECTED]> wrote: > Robert Lowe wrote: > > > Set the to_ms parameter in your pcap_open_live() call to a short[er] > > interval. > > Yes, there's nothing special about a value of -1 for the timeout; the > timeout value is, on systems using BPF (such as BSDs), just converted to > seconds and microseconds and passed to the BPF device with > BIOCSRTIMEOUT, which could cause it to be treated as a very large value. > - > This is the tcpdump-workers list. > Visit https://lists.sandelman.ca/ to unsubscribe. > - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.