If the socket is not finished connecting, then I'd say select()
shouldn't have found it writable.
Getting ENOTCONN or EAGAIN when trying to write to a still-connecting
socket sounds about right...
-- Roger Espel Llima espel@llaic.u-clermont1.fr http://www.eleves.ens.fr:8080/home/espel/index.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu