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

Peter Saint-Andre stpeter at stpeter.im
Mon Jan 21 12:47:03 CST 2008


Sean Egan wrote:
> On Jan 21, 2008 10:38 AM, Peter Saint-Andre <stpeter at stpeter.im> wrote:
>> Right. I have no deep objections to using XEP-0199 -- we defined it to
>> solve these problems! -- but you might want to be smart about how often
>> you send a ping. Some feedback would be helpful about how often people
>> think they need to send pings.
> 
> Pidgin sends a <ping/> every 60 seconds and times out the connection
> if it doesn't get a response in 20 seconds.

I assume you send a ping only if you have not received an inbound packet 
in that time?

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/d08ea421/attachment-0002.bin>


More information about the JDev mailing list