lkml.org 
[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 24 Mar 1998 06:01:39 +0100
FromRoger Espel Llima <>
SubjectRe: tcp_do_sendmsg()
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

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008