Yes - this is my problem. I need to think about this some more...
-----Original Message-----
From: Nic Wise [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 13, 1999 03:02 PM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: TCP/IP Question
Define packets. If you mean:
send block A (which might be 16K, for all I know)
send block B
they _could_ come in as B then A
BUT, TCP/IP will make sure that all of A - if its 16K, it gets split up
into MTU-sized blocks (512 or 1024bytes or whatever its set to) - is in
the right order.
N
Peter Harrison IT wrote:
>
> I am writing a TCP/IP Server.
>
> I am using WinSock.
>
> The client transmits several packets, and I was expecting the packets to
> arrive on the server in the same order. They don't appear to be arriving
in
> the same order they left - which is what I thought TCP/IP gives you.
>
> Am I mistaken (and there is a bug in my program), or does TCP/IP not
> actually enforce the order of arrival of packets?
>
> Peter Harrison
> Software Developer
> Sovereign
>
>
---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz