lkml.org 
[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:41    [W:0.015 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site