Adi wrote:
> How often should a client send xmpp presence to a server?  I assume most
> XMPP servers usually have a timeout for client idle and the presence
> should be sent at a value that is less than this timeout to be optimal.
> But if you are talking to some third party xmpp server, you wouldnt know
> their client idle timeout setting, so how do we optimize sending
> presence? -

There is XMPP Ping for this: XEP-0199

We send such a ping after 55sec of inactivity and wait for the answer
for 20 seconds before assuming we are disconnected
-- 
Yann
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
_______________________________________________

Reply via email to