On So, 2008-01-12 at 20:22 -0600, Sean Gilbertson wrote:
> So here's my current problem: When I send a <presence><status>My
> status here!</status></presence> tag to the server, it immediately
> sends me a <iq/> and then, immediately following that, a
> </stream:stream>, which closes the connection.  My input loop then
> closes, and the whole thing is kaput.

It would be good to see the actual stream dump - what did you send, and
what came in.

Something like my client dumps on debug console:

OUT:
<iq to='chrome.pl' type='get' id='iq731'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>

IN:
<iq xmlns='jabber:client' id='iq731' from='chrome.pl'
to='[EMAIL PROTECTED]/VAIO' type='result'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity name='Chrome XMPP server' type='im' category='server'/>
<feature var='jabber:iq:private'/>
<feature var='presence'/>
<feature var='jabber:iq:time'/>
<feature var='urn:xmpp:ping'/>
<feature var='http://jabber.org/protocol/vacation'/>
<feature var='urn:xmpp:time'/>
<feature var='urn:xmpp:blocking'/>
<feature var='vcard-temp'/>
<feature var='jabber:iq:version'/>
<feature var='message'/>
<feature var='msgoffline'/>
<feature var='jabber:iq:privacy'/>
<feature var='http://jabber.org/protocol/amp'/>
<feature var='jabber:iq:roster'/>
<feature var='iq'/>
<feature var='jabber:iq:last'/>
<feature var='http://jabber.org/protocol/disco'/>
<x xmlns='jabber:x:data' type='result'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/network/serverinfo</value>
</field>
<field var='abuse-addresses'>
<value>mailto:[EMAIL PROTECTED]</value>
</field>
<field var='admin-addresses'>
<value>mailto:[EMAIL PROTECTED]</value>
<value>xmpp:[EMAIL PROTECTED]</value>
</field>
<field var='sales-addresses'>
<value>mailto:[EMAIL PROTECTED]</value>
</field>
<field var='support-addresses'>
<value>xmpp:chrome.pl</value>
</field>
</x>
</query>
</iq>



-- 
  /\_./o__ Tomasz Sterna
 (/^/(_^^' http://www.xiaoka.com/
._.(_.)_   im:[EMAIL PROTECTED]

Reply via email to