[jdev] XMPP Ping method?

Jesus Cea jcea at argo.es
Thu Nov 2 17:24:47 CST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Mullins wrote:
>>From the very first day I wrote a Jabber packet, I was looking for a
> Ping command. I would still like to see one.

+1

Coming from an IRC devel background, I also miss "ping". You can't use
TCP timeouts because they are very very very late. The faster TCP
timeout would be about 20 minutes.

I'm a bit worried about CPU/bandwidth explosión, nevertheless. And
mobile bandwidth, that pay per byte.

> 
> I usually end up using IQ:Time, or IQ:Version as a ping. Almost
> everything supports this - clients, servers, bots, etc. 
> 
> I would still love to see IQ:Ping. 
> 
> --
> Chris Mullins
> 
> -----Original Message-----
> From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf
> Of Peter Saint-Andre
> Sent: Wednesday, November 01, 2006 8:45 AM
> To: Jabber software development list
> Subject: Re: [jdev] XMPP Ping method?
> 
> Scott Robinson wrote:
>> What is the proper method of performing a ping across a client XMPP
>> connection. That is, from a sever's perspective, if a client
>> mysteriously and unexpectedly drops off the Internet, it won't know it
>> until the TCP connection times out.
> 
> Most servers use "whitespace pings". It would be good for us to document
> that method in an XMPP extension.
> 
> Peter
> 

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRUp+P5lgi5GaxT1NAQK+dwP5ATBJ7I26V8sUAkn33UU+ar522QUmylTm
L2s5mEgrlOUJUMwxT85KyDJtM2ACc5YWeTupe/oO8o5l7O8Wr2dTRCS2TVqasGRb
RyyiD2arV+lFM/bnZtXbvHHnB0wnIuKXiN8dXhc0t6uvqKZkTt6I7KkHkDIhff4h
hhOKrhnm5rQ=
=g9tW
-----END PGP SIGNATURE-----



More information about the JDev mailing list