Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
lzheng #1
Member since Nov 2013 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Successful agsxmpp miniclient cannot receive files, back in the right IQ packet
miniclient recv:
 
SEND: <iq id="NFscg-44" to="spark@192.168.1.82/Spark 2.6.3" type="result"><si xmlns="http://jabber.org/protocol/si" id="jsi_4062364577335583173"><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="submit"><field var="stream-method"><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
RECV: <iq xmlns="jabber:client" type="get" from="spark@192.168.1.82/Spark 2.6.3" to="miniclient@192.168.1.82/MiniClient" id="NFscg-45"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
SEND: <iq to="spark@192.168.1.82/Spark 2.6.3" id="NFscg-45" type="result"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
SEND: <iq to="spark@192.168.1.82/Spark 2.6.3" id="NFscg-45" type="result"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
 
This is not correct, the correct recv should be similar to the following:
// <iq xmlns="jabber:client" from="gnauck@jabber.org/Psi" to="gnauck@ag-software.de/SharpIM" type="set" id="aac9a">
            //  <query xmlns="http://jabber.org/protocol/bytestreams" sid="s5b_8596bde0de321957" mode="tcp">
            //   <streamhost port="8010" jid="gnauck@jabber.org/Psi" host="192.168.74.142" />
            //   <streamhost port="7777" jid="proxy.ag-software.de" host="82.165.34.23">
            //   <proxy xmlns="http://affinix.com/jabber/stream" /> </streamhost>
            //   <fast xmlns="http://affinix.com/jabber/stream" />
            //  </query>
            // </iq>
 
I don't know  how to update,please help me ,thanks
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS