public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@redhat.com>
To: "Trenton D. Adams" <tadams@extremeeng.com>
Cc: eCos Discussion <ecos-discuss@sourceware.cygnus.com>
Subject: RE: [ECOS] TCP/IP Stack packet regrouping
Date: Mon, 16 Jul 2001 13:39:00 -0000	[thread overview]
Message-ID: <XFMail.20010716143849.gthomas@redhat.com> (raw)
In-Reply-To: <000201c10e36$941324f0$090110ac@TRENT>

On 16-Jul-2001 Trenton D. Adams wrote:
>   > 
>   > > If not, in blocking mode it will most likely appear to 
>   > happen all at 
>   > > one time right?
>   > 
>   > Not necessarily. read() can return early if _some_ data is 
>   > available.
> 
> Are you saying that read () will return if ONLY some of the data is
> there, but will complete successfully if it's all there?
> 
> 
> So, to summarize what you said.
> 
> Sending generally will send it all at once, and there's no need for a
> loop for the outgoing buffer?
> Receiving I should always do the loop just in case?

Yes, these comments are accurate, but only for TCP connections.  Other
types of connections will have completely different behaviour/semantics.

  reply	other threads:[~2001-07-16 13:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-16 12:51 Trenton D. Adams
2001-07-16 13:12 ` Grant Edwards
2001-07-16 13:20 ` Jonathan Larmour
2001-07-16 13:33   ` Trenton D. Adams
2001-07-16 13:39     ` Gary Thomas [this message]
2001-07-16 13:41       ` Trenton D. Adams
2001-07-16 13:45     ` Jonathan Larmour
2001-07-16 14:26     ` Grant Edwards
2001-07-16 14:36       ` Jonathan Larmour
2001-07-16 14:44       ` Trenton D. Adams
2001-07-16 15:09         ` Grant Edwards
2001-07-16 15:32           ` Grant Edwards
2001-07-16 15:35             ` Trenton D. Adams
2001-07-16 17:36               ` Grant Edwards
2001-07-16 15:35           ` Trenton D. Adams
2001-07-16 17:43             ` Grant Edwards
2001-07-17  6:06               ` [ECOS] Simulation under CCS (Code Composer Studio) SEBASTIEN ANDRE
2001-07-16 18:13         ` [ECOS] TCP/IP Stack packet regrouping Grant Edwards
2001-07-20  8:10           ` Trenton D. Adams
2001-07-20  8:15             ` Jonathan Larmour

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=XFMail.20010716143849.gthomas@redhat.com \
    --to=gthomas@redhat.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=tadams@extremeeng.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).