[jdev] XEP-0199 (XMPP Ping) to test reliability

Yann Leboulanger asterix at lagaule.org
Mon Jan 21 13:15:50 CST 2008


Michal 'vorner' Vaner wrote:
> Hello
> 
> On Mon, Jan 21, 2008 at 07:45:22PM +0100, Yann Leboulanger wrote:
>> every 30 seconds ? and we can expect an answer in the next 5 seconds ? Does 
>> that sound reasonable ?
> 
> Could user turn that off? I'm very glad for the 15 minutes long timeout
> I get now from low-level TCP timeout. Sometimes, I find an urging need
> to unplug the cable (for removing knots from my table or so) and the
> connection just survives it.
> 
> Besides, I happened to live on a connection with ICMP pings about 15
> seconds, so the client would timeout just after the first ping.
> 
> (I know these are extreme, but in these cases, this "solution" brings
> more problems than solve. If I'm on slow connection, I expect to wait,
> not to get disconnected.)
> 

In Gajim the "send keep-alive packets" is a GUI option, time before 
sending it is configurable through advanced configuration editor, and 
time for waiting the answer will be too.

-- 
Yann



More information about the JDev mailing list