> I thought there was a conversation some time back about testing for a
> broken socket ie. link down.  I thought about the exceptfds field in
> select but the docs say:

Test for read ready, and then a read of 0 bytes (EOF). A socket is continually
read ready once at EOF. (note btw that a non blocking read will return 0 for
EOF and -1 for an error or no data ready)

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to