Subject: Re: TCP partial write

From: Rick Jones <[email-masked]>
Date: Mon, 15 Jun 2009 10:59:55 -0700

Stephen Hemminger wrote:
> On Mon, 15 Jun 2009 10:09:29 -0700
> Rick Jones <[email-masked]> 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