[jdev] XEP-0199 (XMPP Ping) to test reliability
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
More information about the JDev