I observed the <body/> streams transfered on messenger.tigase.org site
and I saw these <body/> streams being transfered to and fro:
Code:
--------------------
>>>>
<body content='text/xml; charset=utf-8' hold='1' requests='2' rid='2854858'
to='tigase.org' ver='1.6'
cache='on' wait='30' xmlns='http://jabber.org/protocol/httpbind'/>
<<<<
<body secure="true" xmlns:xmpp="urn:xmpp:xbosh" hold="1" requests="2"
sid="8bef530e-b6a6-4690-af1e-5ac6660b4f89"
polling="10" authid="5c8f7dfb-90b8-4fa4-b159-0d309b918b93" ack="2854858"
wait="30" inactivity="10" xmpp:version="1.0"
ver="1.6" maxpause="10" from="tigase.org"
xmlns="http://jabber.org/protocol/httpbind"
xmlns:stream="http://etherx.jabber.org/streams"/>
>>>>
<body xmlns='http://jabber.org/protocol/httpbind' rid='2854859'
sid='8bef530e-b6a6-4690-af1e-5ac6660b4f89'
ack='2854858'/>
<<<<
<body secure="true" xmlns:xmpp="urn:xmpp:xbosh" xmpp:version="1.0"
from="tigase.org" ack="2854859" xmlns
="http://jabber.org/protocol/httpbind"
xmlns:stream="http://etherx.jabber.org/streams"><stream:features
><auth xmlns="http://jabber.org/features/iq-auth"/><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"
/><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS
</mechanism></mechanisms><session
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features></body
>
--------------------
I see no difference in what I am doing and what they are doing except
for a "ack" value which server returns in response to the initiating
stream.
Any help or pointers will be highly appreciated.
*My Thoughts:* Why can't we have an xmpp driven forum for jabber ;)
Regards,
Abhinav
--
imoracle
------------------------------------
JAXL - Jabber XMPP Library in PHP
http://code.google.com/p/jaxl
------------------------------------
------------------------------------------------------------------------
imoracle's Profile: http://www.jabberforum.org/member.php?userid=17412
View this thread: http://www.jabberforum.org/showthread.php?t=1426