Re: TCP question
- From: Bob O`Bob <filterbob@xxxxxxxxxxxxxxx>
- Date: Mon, 20 Nov 2006 11:06:58 -0800
David Kerber wrote:
No, it does not guarantee the order; just that they will be received intact. Consecutive packets can even take different routes from sender to receiver, which can easily change the receipt order. If one is lost or damaged en route, it will request a resend of that particular packet, and that can change the order as well.
I think the only time you can expect the order to be correct is if there are no routers between the source and the destination, and I'm not even sure if it's guaranteed even then.
You are mistaken.
The packets may be out of order at some lower network level, but they
will be straightened out first *or they will never reach the TCP level*
at your end.
Therefore through the use TCP you actually do get that guarantee.
Your mistake is thinking you should even /care/ what goes on at levels
lower than the one you're currently concerned with.
Bob
--
.
- References:
- TCP question
- From: fniles
- Re: TCP question
- From: Bob Butler
- Re: TCP question
- From: David Kerber
- TCP question
- Prev by Date: Re: Problem closing app with big UDT
- Next by Date: Re: Architecture Question
- Previous by thread: Re: TCP question
- Next by thread: Re: TCP question
- Index(es):
Relevant Pages
|