It should be impossible for TCP to route packets in the wrong order
(from the same source).

However there are three things you should know about TCP.  Now before
you panic, these rarely happen (but I can tell you haow to force it for
debugging) and most implementerts do not accomadate these issues.

1)      If you send say five packets in five writes, they may all be
received in a single read.

2)      If you send  a large packet in a single write then you may take
more thasn one read to read it.

3)      Some combination of the above.

Beleive me this can happen, but normally only happens on heavily loaded
systems odr when the receive buffer is smaller than the transmit buffer.

regards tony goodrich


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to