tcpdump mailing list archives

Re: capturing on both interfaces simultaneously


From: abhinav narain <abhinavnarain10 () gmail com>
Date: Sun, 11 Dec 2011 12:40:23 -0500

I just ignored that case of return value -1 : and continued.

It works now.
The memory usage for two captures is 15%.
I think I din't gain much using select() !

Abhinav

On Sun, Dec 11, 2011 at 12:09 PM, <rixed () happyleptic org> wrote:

-[ Sun, Dec 11, 2011 at 11:36:14AM -0500, abhinav narain ]----
the return value of error is -1,
EINTR is 4.

errno is EINTR.
If select returns -1, check for errno. If errno == EINTR, just retry.


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: