Hey All,
XEP-0199 defines that if a server or client does not support ping it
should return the following stanza:
<iq from='[EMAIL PROTECTED]/balcony' to='capulet.lit' id='s2c1'
type='error'>
<ping xmlns='urn:xmpp:ping'/>
<error type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
or
<iq from='capulet.lit' to='[EMAIL PROTECTED]/balcony' id='c2s1'
type='error'>
<ping xmlns='urn:xmpp:ping'/>
<error type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
I beg, is that not the same as a pong? Shouldn't the server/client
rather ignore the packet if it doesn't allow pings? Unless of course,
the packet is structured as follows (as per XEP-0076):
<iq from='[EMAIL PROTECTED]/balcony' to='capulet.lit' id='c2s1' type='get'>
<ping xmlns='urn:xmpp:ping'/>
<evil xmlns='http://jabber.org/protocol/evil'/>
</iq>
Just a thought.
Cheers,
Jonathan Dickinson