Alexander Christian wrote:
Hi there,
I successfully used MINA with TCP transport. Now I want to be able to use
UDP too. But it seems, that messages above 2048byte size, are not read
properly.
What if you set the buffer size to something bigger ? For instance, 10k :
acceptor = new NioDatagramAcceptor();
DatagramSessionConfig config =
(DatagramSessionConfig)(acceptor.getSessionConfig());
config.setReceiveBufferSize( 10240 );
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org