On 5/9/06, Michael Bauroth <[EMAIL PROTECTED]> wrote:
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.
Can you print the bytebuffer before you call write() and verify if the limit, position and capacity are correct? Just pass the bytebuffer object to println, toString() is overridden. Regards, Vinod.
