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

Peter Saint-Andre stpeter at jabber.org
Mon May 7 19:11:08 UTC 2007


Tomasz Sterna wrote:
> Dnia 07-05-2007, Pn o godzinie 21:01 +0200, Maciek Niedzielski
> napisał(a):
>> No "to" attribute means "send this to server". So this should be the
>> proper way to ping your server. 
> 
> 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'

Peter

-- 
Peter Saint-Andre
XMPP Standards Foundation
http://www.xmpp.org/xsf/people/stpeter.shtml


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20070507/66b8e23f/attachment.bin>


More information about the Standards mailing list