[jdev] XEP-0199 (XMPP Ping) to test reliability
Yann Leboulanger
asterix at lagaule.org
Wed Jan 23 12:36:58 CST 2008
Tomasz Sterna wrote:
> On Śr, 2008-01-23 at 17:21 +0100, Yann Leboulanger wrote:
>>> Why do you want to tune it?
>> Because currently if I unplug my internet cable, my client detect
>> connectut after several minutes, and I'd like it to detect it faster.
>
> a) make whitespace keepalive window shorter
I just did a test: I send keepalive packets every minutes, and it took
15 minutes to detect that I unplugged my ethernet link.
I'd like to decrease this timeout.
> b) use NetworkManager to get notifications about network environment
> changes (new networks, unplugged cables) and react to notifications
> accordingly. (IIRC Windows has a similar facility too.)
That won't help, you can still be connected to your routeur / local
network but jabber server is no more available.
--
Yann
More information about the JDev
mailing list