David Barrett wrote: > When doing select() on Linux on a TCP socket with a non-blocking > connect() outstanding, when is exceptfds set?
Use the source. It starts here: http://lxr.linux.no/linux+v2.6.25/fs/select.c#L376 Eventually we find POLLPRI and tcp_poll: http://lxr.linux.no/linux+v2.6.25/net/ipv4/tcp.c#L335 So I think exceptfds is only used for OOB data and thus will never be set for a listening socket. Stevens APUE p. 400 agrees. Wes Felter - [EMAIL PROTECTED] _______________________________________________ p2p-hackers mailing list [email protected] http://lists.zooko.com/mailman/listinfo/p2p-hackers
