On 01/11/2010 06:02 PM, Emmanuel Lcharny wrote:
We will try to help ...
Thanks much for the help Emmanuel.
Anyone know what might be going on here and/or how to fix? Why
wouldn't MINA be closing out those old connections?
Hmmm. If you brutally shutdowned the client, I'm afraid the socket will
remain in ESTABLISHED states for ever, accordingly to
http://www.cis.temple.edu/~ingargio/cis307/readings/tcpstates.gif, as
you haven't send any FIN segment.
May be checking for the socket idleness every X minutes could help to
close the orphan sockets ?
I'm not clear on what you mean by this. How would I do a check like
that in MINA? Are you suggesting adding some sort of ping/pong logic?
If not, then perhaps you could point me to some sample code that
illustrates what you mean?
Thanks,
DR