mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <pro...@apache.org>
Subject Re: Order that data is received?
Date Tue, 01 May 2007 22:41:22 GMT
On May 1, 2007, at 8:41 PM, Richard Lowe wrote:
> Firstly, I'm using TCP and Mina 1.1.
>
> Let's say that my client executes the write method of  
> IoHandlerAdapter and sends 100,000 bytes ('A') to the remote server.
>
> My client then immediately sends another 25,000 bytes ('B') to that  
> same server with a subsequent write call.
>
> Will 'A' always arrive at the server before 'B' even though it  
> contains more bytes?

Yes.

(TCP guarantees the sending order)

-pete


-- 
proyal@apache.org - http://fotap.org/~osi




Mime
View raw message