0
沒有發現我把數據包送到客戶遠程服務器XMPP
<iq id="kGufc-4" to="[email protected]" from="[email protected]" type="get"><query xmlns='http://localhost/protocol/disco#info'/></iq>
並得到
<iq id="kGufc-4" to="[email protected]/testchat" from="[email protected]" type="error"><error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
是什麼問題???
您在代碼中的某處使用「localhsot」而不是「localhost」。 – WannaBeGeek 2014-12-08 08:00:53
謝謝..但在此糾正後沒有任何迴應返回 – 2014-12-08 08:11:37
也檢查您的服務器端的域名。 – WannaBeGeek 2014-12-08 08:12:48