[asterisk-dev] socket_read: Packet arrived out of order
(expecting2, got 1)
Edwin Groothuis
edwin at mavetju.org
Wed Mar 8 19:56:10 MST 2006
On Wed, Mar 08, 2006 at 03:16:17PM -0600, Rich Adamson wrote:
> > > is this alarming?
> > > or should i discard this and do not worry at them?
> >
> > IAX2 is carried on UDP packets and they, by definition, are not required
> > to arrive in order of transmission (or even arrive at at all) at the
> > application layer. This differs from TCP packets, who are required to be
> > presented to the application in order and with no gaps. It follows
> > therefore that queueing and congestion on a larger network such as the
> > Internet may cause the IAX frames to go astray.
>
> Correction... there is no requirement that tcp packets arrive in order
> either. The tcp packets do have the information neessary for the IP stack
> to put the packets back in order, and do a retransmission request for
> any missing packets, but that's it.
Please read the paragraph again, I have put *'s around the essential
parts of it.
> > IAX2 is carried on UDP packets and they, by definition, are not required
> > to arrive in order of transmission (or even arrive at at all) *at the
> > application layer*. This differs from TCP packets, who are required to be
> > presented *to the application* in order and with no gaps. It follows
For the rest, both of you are correct.
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the asterisk-dev
mailing list