Brenno Hayden wrote:
Hello,
i got one problem whith "((SocketSessionConfig) ioAcceptor.getSessionConfig
()).setTcpNoDelay(false)".
When I have one socket client, sending messages continuos to IoAcceptor
without a delay,
Arrives a different message, as can do to get separated?
example. socket client envia 1000 messages simultaneous [53 56 01 02 02 03
03] and the IoHandlerAdapter receives
[53 56 01 02 02 03 03 53 56 01 02 02 03 03 ....] bus i like receives, such
[53 56 01 02 02 03 03] , [53 56 01 02 02 03 03] , [53 56 01 02 02 03 03]
..
..
..
setTcpNoDelay simply disable the Naggle algorithm. It does not create a
'separation' of your messages. You have to handle that at your protocol
level.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org