Hi,

I am trying to understand how MINA server does session management for UDP
clients.
Now for TCP sessions (with Nagle ON), if I send multiple messages my client
in a loop I see that they often arrive in a single IoBuffer. And of course
the IoSession remains the same.
When I similarly send multiple messages from my UDP client - I was
expecting that a new IoSession will be created for every packet because of
the connectionless nature of the protocol and hence they will arrive in
different IoBuffers.

However from my experiments - a datagram session is getting closed only
after ~40 seconds and UDP messages come from the same session if sent less
than 40 sec apart. Right now I am seeing that sending multiple UDP messages
come in different IoBuffers - is that guaranteed or is it possible for MINA
to accumulate them and give as one IoBuffer also?

-Dhruv

Reply via email to