[jdev] XEP-0199 (XMPP Ping) to test reliability
sean.gilbertson at gmail.com
Mon Jan 21 12:37:58 CST 2008
Well, doesn't it tell you whether the socket is broken/closed? If you
can send successfully, doesn't it mean that the connection is still
On Jan 21, 2008 12:34 PM, Yann Leboulanger <asterix at lagaule.org> wrote:
> Peter Saint-Andre wrote:
> > Yann Leboulanger wrote:
> >> Is it a good idea for a client to xmpp-ping server every X seconds to
> >> test if it's still available, in order to detect server shutdown,
> >> connection cut ... ?
> > Not really. It's pretty verbose. We generally prefer to send whitespace
> > over the TCP connection. We usually call that "whitespace ping".
> > Peter
> That won't inform us if connection is brocken or server is down as those
> whitespace ping don't receive a pong ...
"Courage in an untrained mind leads to cruelty, and in a trained mind
it leads to hope and compassion." ~ P.J. Saher
More information about the JDev