Le 10/11/12 9:52 AM, Dhruv Chopra a écrit :
Great thanks! the fact that each UDP message comes in its own buffer and
MINA recycles datagram session clears most of the questions for me.
The bit I mentioned about 40 seconds - what I saw was that after ~40
seconds of receiving the last datagram message, the "ExpiringMapExpirer"
thread comes in and closes the UDP session. After that if the server
receives a datagram from the same client, it creates a new IoSession. Is
that expected?
Yes. Otherwise, we may keep a list of sessions that grow out of bounds.
This is due to the connectionless status of UDP (there is nothing such
as a session close operation from the client)
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com