[Standards-JIG] Re: XMPP Ping method?
gacek999 at tlen.pl
Sat Nov 4 01:34:11 UTC 2006
How about sending keepalive iq from server:
<iq type="get" to="juliet at gmail.com" id="keepalive" />
and this is from XMPP-CORE RFC:
'An entity that receives an IQ request of type "get" or "set" MUST reply
with an IQ response of type "result" or "error" (the response MUST preserve
the 'id' attribute of the request).'
so client should respond with iq stanza with type set to error. This should
work with all clients however it is just a workaround. It would be better if
there will be some XEP regarding keepalives.
<iq type="get" to="juliet at gmail.com" id="keepalive">
<iq type="result" from="juliet at gmail.com" id="keepalive"/>
when 'id' should be up to implementation
More information about the Standards