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

Yann Leboulanger asterix at lagaule.org
Wed Jan 23 10:12:25 CST 2008

Tomasz Sterna a écrit :
> On Śr, 2008-01-23 at 13:32 +0100, Yann Leboulanger wrote:
>> Ok, XEP-0199 will do that then ;)
> I've been trying to explain that whitespace keepalive is enough.
> It seems that I failed...

You haven't, I also think that it's better, but as you said it's hard to 
tune the socket correctly, and it depends on the machine you're on, etc.

It seems you need to tune many things: timeount for waiting ACK, how 
many retry before telling application that packet failed, and probably 
many others.

Default values is not good for a jabber client I think. It takes several 
minutes before we know that connection is broken.

So is it really possible to find reasonable values for all those 
parameters that I don't know what they really do?
Is it tunable from python for a particular socket or is it in OS directly?


More information about the JDev mailing list