Guy Harris <[EMAIL PROTECTED]> writes:
> On Tue, Jul 24, 2001 at 09:05:36AM +0200, Yoann Vandoorselaere wrote:
> > Is there any way to capture the packet one by read on any OS ?
>
> Perhaps, but I'm not certain that there is (and suspect that it's not
> possible on all of the OSes I listed) - and that has other problems,
> e.g. the reason why single reads return multiple packets is to reduce
> the number of system calls made if there's a lot of captured traffic.
Now, it would be interesting to see the cost of read() versus the
copy alternative...
--
Yoann Vandoorselaere | Unix IS user friendly. It's just selective about who its
MandrakeSoft | friends are.
-
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