Bogdan Ciprian Pistol wrote:
Hello,

Is it possible to set the TCP_NODELAY flag in MINA to disable Nagle's algorithm?
In standard Java I do Socket.setTcpNoDelay(true).

Thanks,

Bogdan

Try this :

SocketAcceptorConfig acceptorCfg = new SocketAcceptorConfig();

...
acceptorCfg.getSessionConfig().setTcpNoDelay( true );
...

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


Reply via email to