On 9/16/06, Fernando C. de Castro <[EMAIL PROTECTED]> wrote:
Hello,

   I looked in the archive before posting this and couldn't find an answer, so 
please excuse me if it has already been commented.

   I was wondering if there is a way to detect a lost connection when the other side 
doesn't close the connection "cleanly".

<snip/>

Unfortunately, if you want to know of this asap, then you will have to
implement your own solution for checking if the session is alive. I've
also had notorious experiences with GPRS gateways (they don't seem to
bother with TCP/IP semantics)  and have ended up with application
level pinging.

AFA MINA is concerned, it should not deal itself with checking for
such things, since it might possibly lead to breaking the application
protocol.

Regards,
Vinod.

Reply via email to