tcpdump mailing list archives

Re: Compatibility Libpcap/Winpcap and timout of


From: Matthew Luckie <mjl () luckie org nz>
Date: Wed, 28 Jan 2009 13:43:02 +1300

If you want a timeout, so you don't wait forever for a packet to arrived, I'd suggest using select() or poll() on UN*X systems (other than *BSD and Mac OS X, where select() and poll() might not work correctly on BPF devices - and, in the case of Mac OS X, where poll() doesn't work *at all* on "character" devices such as BPF devices or ttys).

I think the problems with select on BPF devices on FreeBSD have been solved for a long time. Certainly on all currently supported versions of FreeBSD.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: