Re: [tcpdump-workers] pcap_get_selectable_fd q

2010-08-24 Thread Guy Harris
On Aug 24, 2010, at 5:11 AM, Tim mizas wrote: > What kind of FD does pcap_get_selectable_fd return? It returns either 1) the same FD that pcap_fileno() returns, if select() is supported on it or 2) -1, if select() is *not* supported on it (which is the case in, for example,

[tcpdump-workers] pcap_get_selectable_fd q

2010-08-24 Thread Tim mizas
What kind of FD does pcap_get_selectable_fd return? I thought it was a socket's, but when I tried to do a recv on it, I got an error saying the FD wasn't a socket. Thanks, Tim - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.