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