All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: Paul Martin <srucnoc@gmail.com>, netdev@vger.kernel.org
Subject: Re: TCP partial write
Date: Mon, 15 Jun 2009 10:59:55 -0700	[thread overview]
Message-ID: <4A368C1B.7030509@hp.com> (raw)
In-Reply-To: <20090615102655.5059302d@nehalam>

Stephen Hemminger wrote:
> On Mon, 15 Jun 2009 10:09:29 -0700
> Rick Jones <rick.jones2@hp.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

      reply	other threads:[~2009-06-15 17:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-14 19:52 TCP partial write Paul Martin
2009-06-15 17:09 ` Rick Jones
2009-06-15 17:26   ` Stephen Hemminger
2009-06-15 17:59     ` Rick Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A368C1B.7030509@hp.com \
    --to=rick.jones2@hp.com \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    --cc=srucnoc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.