iPhone 开发的最佳跨平台网络框架
我正在寻找编写一个可以在 iPhone、OS X 和 Windows 上运行的客户端/服务器应用程序。适用于所有 3 个平台的最佳网络解决方案是什么?
我研究过 Qt,它看起来不支持 iPhone。我也研究过 boost,看起来它可以为 iPhone 编译。然而,我希望有一个像 Qt 所提供的更高级别的框架。
I am looking to write a client/server application that will run on both iPhone, OS X and Windows. What are the best solutions for networking that will work on all 3 platforms?
I have looked into Qt and it doesn't look like it has support for iPhone. I have also looked at boost, and that looks like it can be compiled for the iPhone. However I was hoping for a somewhat higher level framework like what Qt has to offer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用AsyncSocket。
OS X/iPhone:http://code.google.com/p/cocoaasyncsocket/
Windoze:http://code.google.com/p/dotnetasyncsocket/
I use AsyncSocket.
OS X/iPhone: http://code.google.com/p/cocoaasyncsocket/
Windoze: http://code.google.com/p/dotnetasyncsocket/
我不确定框架和协议一样重要。如果您使用标准通信协议(很可能是一些 HTTP/REST 设置),那么可能会有一个使用本机语言的库通过该协议进行通信。
I'm not sure the framework matters as much as the protocol. If you go with a standard protocol for communication (most likely some HTTP/REST setup), then there will probably be a library in the native language to communicate via that protocol.