[jdev] xmppping - simple XEP-0199 pinging script
machekku at uaznia.net
Fri Jan 5 12:42:51 CST 2007
Peter Saint-Andre wrote:
> See here:
Hmm... I just noticed something.
Let's say we're pinging a client which does not support ping namespace:
Example 9. Ping Not Supported
<iq from='juliet at capulet.com/chamber'
to='romeo at montague.net/home'
Now 3921bis says:
3. Else if the JID is of the form <user at domain/resource> and no
connected or available resource matches the full JID, the recipient's
server (...) MUST return a <service-unavailable/> stanza error to the
sender if it is an IQ stanza
So the reply above may mean both a pong and a not-pong, and it's
impossible to tell the difference.
BTW: What happened to feature-not-implemented?
Maciek A: It's against natural order of reading.
xmpp:machekku at uaznia.net Q: Why is that?
xmpp:machekku at chrome.pl A: People answering above quoted text.
Q: What's the most annoying on newsgroups?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 257 bytes
Desc: OpenPGP digital signature
More information about the JDev