Sorry if this is already known: on a RH 7.0 system with kernel 2.4.2 or 2.4.3, a select on an unconnected socket incorrectly says that the socket is ready for input and output. Of course, reading from the socket file descriptor returns -1 and errno is set to ENOTCONN as shown in the strace output: socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 select(4, [3], [3], [3], {0, 0}) = 2 (in [3], out [3], left {0, 0}) read(3, 0xbffff668, 1024) = -1 ENOTCONN (Transport endpoint is not connected) I attached a small example program to reproduce the bug. Thanks, Radu Greab PS: please CC me your eventual replies as I'm not subscribed to the list.