[Standards] XMPP Ping with(out) 'to' argument ?

Tomasz Sterna tomek at xiaoka.com
Mon May 7 19:17:42 UTC 2007


Dnia 07-05-2007, Pn o godzinie 13:11 -0600, Peter Saint-Andre
napisał(a):
> > Not really.
> > It means "process this packet on behalf of myself".
> > It's intended for client <-> session-manager interaction.
> > So it's more like the "to" is your bare JID.
> 
> But the server replies on behalf of IQs sent to the bare JID, so it's 
> effectively the same as sending to='yourserver.tld' 

I disagree.

Please send:
<iq type="get" id="iq1">
<vCard xmlns="vcard-temp" />
</iq>

and:
<iq to="yourserver.tld" type="get" id="iq2">
<vCard xmlns="vcard-temp" />
</iq>

and see the difference.

-- 
Tomasz Sterna
Xiaoka Grp.  http://www.xiaoka.com/




More information about the Standards mailing list