hittih wrote:
> I'v implemented a server using MINA ,but now I have met a problem. Clients
> send hudge message to my server.I find that MINA split a hudge message into
> many smaller message,how can I get the right message?
>   
Even if your client writes a large chunk of bytes at once to a socket it
doesn't mean that it will arrive at the server as one big chunk. It
ain't MINA's fault, it's just the way it works. You will have to
reassemble the split message into the original huge message on the MINA
side. The ProtocolCodecFilter will help you out. Have a look at the
examples.

HTH

-- 
Niklas Therning
www.spamdrain.net

Reply via email to