(Second try - wrong address in the Cc: line.)

> Oh ! So for instance if no packets are coming in at
> all, pcap_dispatch would not return (on linux) --
> would just block until atleast one packet comes in ?

Correct.

It will also block until at least one packet comes in on SunOS 5.x,
HP-UX, or Irix (and possibly some other platforms), and might do so on
SunOS 4.x as well.

The only platforms where I *know* the timeout will expire even if no
packets arrive are

        the BSDs (including, presumably, MacOS X);

        Digital^H^H^H^H^H^H^HTru64 UNIX.

It might do so on AIX if you're using BPF, although their BPF is a bit
non-standard, and isn't supported, so you may have to use DLPI, instead,
in which case the timeout has no effect.
-
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