不进行文件传输(xep 0234、0065) [英] Don't work file transfer (xep 0234, 0065)

查看:44
本文介绍了不进行文件传输(xep 0234、0065)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为iPhone开发一个应用程序.我将在我们的应用程序中使用GoogleTalk XMPP进行聊天.我想使用SOCKS5字节流(http://xmpp.org/extensions/xep-0234.html#hash)传输文件.我无法初始化会话.我发送请求会话启动".

I am developing an application for the iPhone. I will implement a chat with GoogleTalk XMPP in our application. I want to transfer files using SOCKS5 Bytestream (http://xmpp.org/extensions/xep-0234.html # hash). I can not initialize the session. I send request "session-initiate". 

<jingle xmlns='urn:xmpp:jingle:1'
          action='session-initiate'
          initiator='romeo@montague.lit/orchard'
          sid='851ba2'>
      <content creator='initiator' name='a-file-offer'>

服务器返回错误"code = 503服务不可用".

The server returns an error "code= 503 service-unavailable".

您能说出问题是什么吗?我可以使用这项服务吗?我还可以通过GoogleTalk XMPP进行文件传输的其他方式?

Could you tell what the problem is? Can I access this service? What other way I can implement a file transfer using GoogleTalk XMPP?

推荐答案

您是否将其包装在IQ节中?如果不是,那就是问题所在,但是令您惊讶的是,您并没有断开连接.如果您这样做了,则检查 to 地址是否正确;错误503可以是路由错误,也可以从未实现相关协议的接收客户端返回.

Did you wrap this in an IQ stanza? If not, that's the problem, but I'm surprised you didn't just get disconnected. If you did, then check that the to address is correct; error 503 can either be a routing error, or can be returned from a receiving client that doesn't implement the protocol in question.

这篇关于不进行文件传输(xep 0234、0065)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆