Ok, then I have a serious problem :(
The problem is that when I send a simple (empty) message from a client
to the server (both Mina based and kept as simple as possible) over
IoSession.write(""), I always get an extra byte 0x0a at the end of the
incoming message. The same occurs, when the message is not empty. Always
the remaining() value is one greater then the string itself.
What I'm doing wrong???
Regards
Michael
Vinod Panicker wrote:
On 5/9/06, Michael Bauroth <[EMAIL PROTECTED]> wrote:
Hi,
only a short question. Can it be, that IoSession.write() adds an extra
charater at the end of each line (like an EOL or so)?
AFAIK, it doesn't. Otherwise binary protocols such as SSL/TLS would
have bombed.
Check the bytebuffer you are passing to write(). Is the limit set
correctly?
Regards,
Vinod.