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, h

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 th

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 http://en.

RE: UDP Out 0f Sequence

2006-09-20 Thread Majumder, Rajib
ECTED] Cc: [EMAIL PROTECTED]; netdev@vger.kernel.org Subject: Re: UDP Out 0f Sequence 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), se

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

RE: UDP Out 0f Sequence

2006-09-20 Thread Majumder, Rajib
27; Subject: Re: 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. :)

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

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 chang