mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: Null Character in Received Message/String
Date Wed, 16 Sep 2009 16:47:52 GMT
Sica, David (David) wrote:
> I have a process that is sending an ASCII string that contains a Null
> Character in the middle of the string.  It seems that my MINA server is
> only receiving the string before the Null Character and then ignoring
> everything after.  Does this seem consistent with how MINA should be
> handling it and if so how do I change it to be able to receive the
> entire string including text after the null character?
>   
You should check your decoder. MINA does not care about \0 bytes, they 
are just plain normal bytes to it.

PS : Please when you post on this list, provide the MINA version you are 
using.

-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message