tcpdump mailing list archives
select()ing on a pcap descriptor in Solaris
From: Fernando Gont <fernando () gont com ar>
Date: Thu, 14 Aug 2014 16:34:50 -0400
Folks, While trying to select() on a pcap descriptor in solaris, I found the following: 1) It seems that pcap descriptors are never readable or writeable. (-- This is different from *BSD and Linux, where at least you seem to be able to check for readability) 2) It would seem that even trying to select() on such descriptors causes trouble. For example, I get a kind of random "Bad file number" error from select when I try to check for readability/writeability. Is the above assessment correct? Should I not even try to call select() on pcap descriptors in Solaris? 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 _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- select()ing on a pcap descriptor in Solaris Fernando Gont (Aug 14)
- Re: select()ing on a pcap descriptor in Solaris Guy Harris (Aug 14)
- Re: select()ing on a pcap descriptor in Solaris Fernando Gont (Aug 14)
- Re: select()ing on a pcap descriptor in Solaris Fernando Gont (Aug 18)
- Re: select()ing on a pcap descriptor in Solaris Guy Harris (Aug 14)
