public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] TCP stack order question (eCos + 802.11)
@ 2001-08-13 15:21 Trenton D. Adams
  2001-08-13 15:25 ` Grant Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Trenton D. Adams @ 2001-08-13 15:21 UTC (permalink / raw)
  To: 'eCos Disuss'

Doesn't the TCP/IP standard insure that a computer receives items in the
same order they were sent at the application level?

Take for instance if I sent 4 buffers of 200 bytes each.  Those buffers
should arrive on the other end of the TCP connection in the same order I
sent them as far as the socket programmer is concerned right?  PLEASE
say yes! :)

I'm looking through some RFCs, but I'm not even sure if I'm looking at
the right ones.  Right now I'm looking at rfc2126.txt

Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] TCP stack order question (eCos + 802.11)
  2001-08-13 15:21 [ECOS] TCP stack order question (eCos + 802.11) Trenton D. Adams
@ 2001-08-13 15:25 ` Grant Edwards
  2001-08-13 15:30   ` Trenton D. Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2001-08-13 15:25 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'eCos Disuss'

On Mon, Aug 13, 2001 at 04:21:38PM -0600, Trenton D. Adams wrote:

> Doesn't the TCP/IP standard insure that a computer receives
> items in the same order they were sent at the application
> level?

Yes.

> Take for instance if I sent 4 buffers of 200 bytes each.  Those
> buffers should arrive on the other end of the TCP connection in
> the same order I sent them as far as the socket programmer is
> concerned right?  PLEASE say yes! :)

The bytes arrive in the same order you sent them.  They might
not arrive as "4 buffers", and if you depend on that behavior
your software will someday break.  ;)

> I'm looking through some RFCs, but I'm not even sure if I'm
> looking at the right ones.  Right now I'm looking at
> rfc2126.txt

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] TCP stack order question (eCos + 802.11)
  2001-08-13 15:25 ` Grant Edwards
@ 2001-08-13 15:30   ` Trenton D. Adams
  2001-08-13 15:32     ` Grant Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Trenton D. Adams @ 2001-08-13 15:30 UTC (permalink / raw)
  To: 'Grant Edwards', 'Trenton D. Adams'; +Cc: 'eCos Disuss'

Actually, I was just thinking of receiving a maximum of my buffer size,
and then receiving the next bit of data up to the maximum of that buffer
size again until I've got all the buffers.  That shouldn't cause a
problem right?

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[ mailto:ecos-discuss-owner@sources.redhat.com ] On Behalf Of Grant
Edwards
Sent: Monday, August 13, 2001 4:27 PM
To: Trenton D. Adams
Cc: 'eCos Disuss'
Subject: Re: [ECOS] TCP stack order question (eCos + 802.11)


On Mon, Aug 13, 2001 at 04:21:38PM -0600, Trenton D. Adams wrote:

> Doesn't the TCP/IP standard insure that a computer receives
> items in the same order they were sent at the application
> level?

Yes.

> Take for instance if I sent 4 buffers of 200 bytes each.  Those
> buffers should arrive on the other end of the TCP connection in
> the same order I sent them as far as the socket programmer is
> concerned right?  PLEASE say yes! :)

The bytes arrive in the same order you sent them.  They might
not arrive as "4 buffers", and if you depend on that behavior
your software will someday break.  ;)

> I'm looking through some RFCs, but I'm not even sure if I'm
> looking at the right ones.  Right now I'm looking at
> rfc2126.txt

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] TCP stack order question (eCos + 802.11)
  2001-08-13 15:30   ` Trenton D. Adams
@ 2001-08-13 15:32     ` Grant Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2001-08-13 15:32 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'Trenton D. Adams', 'eCos Disuss'

On Mon, Aug 13, 2001 at 04:30:55PM -0600, Trenton D. Adams wrote:

> Actually, I was just thinking of receiving a maximum of my buffer size,
> and then receiving the next bit of data up to the maximum of that buffer
> size again until I've got all the buffers.  That shouldn't cause a
> problem right?

That should work.  

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-13 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-13 15:21 [ECOS] TCP stack order question (eCos + 802.11) Trenton D. Adams
2001-08-13 15:25 ` Grant Edwards
2001-08-13 15:30   ` Trenton D. Adams
2001-08-13 15:32     ` Grant Edwards

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).