Messages in this thread | | | Subject | Re: Network socket disconnect unreliable | Date | Sun, 20 Feb 2000 15:27:58 +0000 (GMT) | From | Alan Cox <> |
| |
> Yep. Wonderful. When the socket disconnects, select doesn't return!
It does here. Do you have the right fd in your read set ?
> read/write code does as you show, but without the exception mask > select() doesn't return after a disconnect. At least not on > the 'current' versions of Linux (up to 2.3.41).
The exception mask shouldnt even be applied here. It is for reporting urgent data packets.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |