Hi Pete,

I was really hoping that was the case, but I wanted to be absolutely certain.

Thank you very much! I was dreading having to take that into consideration, re-ordering my messages would cost me more CPU cycles.

Cheers,
Richard.
--

peter royal wrote:
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


[EMAIL PROTECTED] - http://fotap.org/~osi




Reply via email to