Re: UDP Out 0f Sequence

2007-09-28 Thread Randy Macleod
Rick Jones wrote: Majumder, Rajib wrote: Let's say we have 2 uniprocessor hosts connected back to back. Is there any possibility of an out-of-order scenario on recv? Your application should be written on the assumption that it is possible, regardless of the specifics of the hosts involved,

Re: UDP Out 0f Sequence

2006-09-21 Thread Rick Jones
Majumder, Rajib wrote: Let's say we have 2 uniprocessor hosts connected back to back. Is there any possibility of an out-of-order scenario on recv? Your application should be written on the assumption that it is possible, regardless of the specifics of the hosts involved, however unlikely

UDP Out 0f Sequence

2006-09-20 Thread Majumder, Rajib
Hi, If I write UDP datagrams 1,2 and 3 to network and if the receiver receives in order 2,1, and 3, where can the sequence get changed? Is it at the source stack, network transit or destination stack? Any reply is highly appreciated. Thanks Rajib

Re: UDP Out 0f Sequence

2006-09-20 Thread kc
network transit. different datagrams might go through different routes, hence the out-of-sequence arrival. On 9/20/06, Majumder, Rajib [EMAIL PROTECTED] wrote: Hi, If I write UDP datagrams 1,2 and 3 to network and if the receiver receives in order 2,1, and 3, where can the sequence get

Re: UDP Out 0f Sequence

2006-09-20 Thread Rick Jones
Majumder, Rajib wrote: Hi, If I write UDP datagrams 1,2 and 3 to network and if the receiver receives in order 2,1, and 3, where can the sequence get changed? Is it at the source stack, network transit or destination stack? Yes. :) Although network transit is by far the most likely case.

RE: UDP Out 0f Sequence

2006-09-20 Thread Majumder, Rajib
: UDP Out 0f Sequence Majumder, Rajib wrote: Hi, If I write UDP datagrams 1,2 and 3 to network and if the receiver receives in order 2,1, and 3, where can the sequence get changed? Is it at the source stack, network transit or destination stack? Yes. :) Although network transit is by far

Re: UDP Out 0f Sequence

2006-09-20 Thread David Miller
From: Majumder, Rajib [EMAIL PROTECTED] Date: Thu, 21 Sep 2006 10:50:17 +0800 Does this mean if we have 2 hosts connected back to back (there's no network device in between), sequence is guaranteed even in UDP? Not true. Even for back to back systems SMP can cause packets to be delivered out

Re: UDP Out 0f Sequence

2006-09-20 Thread Ian McDonald
On 9/21/06, Majumder, Rajib [EMAIL PROTECTED] wrote: Does this mean if we have 2 hosts connected back to back (there's no network device in between), sequence is guaranteed even in UDP? I think if you're trying to make the packets appear in order you need to untie the Gordian knot