[JDEV] XMPP to, from attributes
John Gianola
gianola at careflow.com
Mon Jul 28 13:14:39 CDT 2003
I have a quick question here, say you have a XMPP ver 1.0 client
connecting to a XMPP ver 1.0 Server. The client opens the stream as
usual and sets the 'to' attribute to something like 'shakespeare.lit' or
whatever. The server responds with a different 'from' attribute, say
'chat1.shakespeare.lit', What does the client do with this new 'from'
for example:
C: <?xml version='1.0'?>
<stream:stream
to='shakespeare.lit'
xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'
version='1.0'>
S: <?xml version='1.0'?>
<stream:stream
from='chat1.shakespeare.lit'
id='id_123456789'
xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'
version='1.0'>
What happens?
More information about the JDev
mailing list