tcpdump mailing list archives

Exception conditions on pcap descriptors?


From: Fernando Gont <fernando () gont com ar>
Date: Thu, 29 Dec 2011 20:45:47 -0300

Folks,

I'm doing I/O multiplexing by obtaining the underlying file descriptor
for the pcap_t "socket", with pcap_fileno().

I was wondering whether I should check for exceptions on such descriptor
(in addition to readability and writeability), and whether such
exceptions could possibly occur (and if so, what the possible causes of
such exceptions could be).

Thanks!

Best regards,
-- 
Fernando Gont
e-mail: fernando () gont com ar || fgont () si6networks com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1



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


Current thread: