>
>So it looks as if interactive applications might be able to, at least on
>BSD, Solaris, and Linux, do a "select()" or "poll()" on the pcap_t file
>descriptor in the main loop, and, with the aid of a timeout, work around
>the BSD problem - the timeout is established regardless of what platform
>you're on, so you don't even have to #ifdef it.

maybe, but the problem is that on most BSD platforms, the timeout
is implemented via a sleep(_timeout_), and the associated select
timeout only works `marginally'... the select will only be awoken
when the buffer fills, not when the timeout has passed.

mts.
-
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