Re: tcp_do_sendmsg()

Roger Espel Llima (espel@llaic.u-clermont1.fr)
Tue, 24 Mar 1998 06:01:39 +0100


DaveM wrote:
> From: Andi Kleen <ak@muc.de>
> Date: 23 Mar 1998 05:13:12 +0100
>
> Netscape calls connect(), makes the socket non blocking, waits with
> select(), is waken up for the socket and starts a write(s, "GET
> /url", ..) on the socket.
>
> Ok.

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