[jdev] tcp session hangs

Justin justin at openaether.org
Sun Dec 5 21:10:07 CST 2004


Oleg V. Motienko wrote:

> Hello!
>
> A situation then a jabber client didn't close tcp session (dialup 
> disconnect or some other channel problems).
> If any messages sent to such client before tcp timeout they will get 
> in a blackhole. Am I right?
>
You are correct. There are a few options, iirc, sending whitespace 
'pings' shortens the timeout. Most servers support this or have a patch 
to enable it.


Justin





More information about the JDev mailing list