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

Peter Saint-Andre stpeter at stpeter.im
Mon Jan 21 12:31:08 CST 2008


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

-- 
Peter Saint-Andre
https://stpeter.im/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20080121/79a7345e/attachment-0002.bin>


More information about the JDev mailing list