Fernando Gont
2014-08-14 20:34:50 UTC
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,
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: ***@gont.com.ar || ***@si6networks.com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Fernando Gont
e-mail: ***@gont.com.ar || ***@si6networks.com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1