Hello Emmanuel,
I have been trying some test cases since I read your latest email. But,
somehow, it does not seem to add up.

When the buffer is read the second time (as a result of NEED_DATA bringing
the control back), the first byte of the buffer is hardly ever the same as
the first byte that was read in the original attempt. This is troubling me
... :( In vain, I even tried IoBuffer.position(0); but, nothing. I don't
know what am I missing ....

BTW, should the chunks of message match with what is seen in Wireshark ? I
think, in at least one case, there were only two chunks in Wireshark
whereas, in my server implementation, there were four chunks.

ನಾಗೇಶ್

Reply via email to