Objective C 的 Stomp 客户端无法连接
我正在尝试使用 http://dev.coravy.com/wiki/display/OpenSource/Stomp+client+for+Objective-C。
我的应用程序编译得很好,但是当我尝试连接到主机时,我没有得到任何响应。在 STOMP 代码中设置断点后,我发现 AsyncSocket.m:3641 处的调用始终返回 NO:
return CFWriteStreamCanAcceptBytes(theWriteStream);
如果您能提供有关如何处理此问题的帮助,我将不胜感激。
I am attempting to integrate the Stomp Objective-C client into a rather simple application, using the directions given at http://dev.coravy.com/wiki/display/OpenSource/Stomp+client+for+Objective-C.
My app compiles fine, but when I try to connect to a host, I get no response. After breakpointing through the STOMP code, I find that this call at AsyncSocket.m:3641 always returns NO:
return CFWriteStreamCanAcceptBytes(theWriteStream);
I'd appreciate any help on how to deal with this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,事实证明 STOMP 代码运行良好。我没有收到响应,因为 STOMP 服务器由于设置错误而没有响应。
Well, it turns out the STOMP code is working fine. I didn't get a response because the STOMP server was not responding due to a setup error.