[jdev] XMPP Ping method?

Chris Mullins chris.mullins at coversant.net
Wed Nov 1 11:47:24 CST 2006

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

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 Saint-Andre
Jabber Software Foundation

More information about the JDev mailing list