[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A368C1B.7030509@hp.com>
Date: Mon, 15 Jun 2009 10:59:55 -0700
From: Rick Jones <rick.jones2@...com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: Paul Martin <srucnoc@...il.com>, netdev@...r.kernel.org
Subject: Re: TCP partial write
Stephen Hemminger wrote:
> On Mon, 15 Jun 2009 10:09:29 -0700
> Rick Jones <rick.jones2@...com> wrote:
>> And you should/must assume that at the other end, your recv/read calls will
>> return with between 0 and however many bytes you ask of them, with 0 meaning
>> the remote has said it has nothing left to give.
>>
>
>
> Actually on a blocking socket 0 means other end has closed.
Overly poetic wording on my part, using "said it has nothing left to give" to
mean "other end has closed" :)
rick jones
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists