iOS:可用于套接字通信的第三方框架
我的任务是将 G 传感器数据几乎实时地从 iOS 设备发送到在不同设备(OSX、iOS,也许是 Windows)上运行的应用程序。从我到目前为止所读到的内容来看,Socketstream 似乎是此类任务的最佳选择。你同意? 我的问题是,由于我没有套接字编程经验,是否有任何第三方框架可以使套接字编程更容易?也许他们已经创建了一些在连接丢失后会重新连接的东西,比如错误处理?我想不是每个人在使用套接字编程时都会再次发明轮子吧?
感谢您提供有关此主题的任何信息。
特维克尔
my Task is to send the G-Sensor Data nearly in realtime from an iOS Device to an Application running on a different Device (OSX, iOS, maybe Windows). From all I've read so far, a Socketstream seems to be the best choice for this kind of Task. Do you agree?
My Question is, since I have no experience in Socket programming, are there any third party Frameworks that make socket programming more easier? Maybe that they already created something that will reconnect after the connection was lost and such things like Error Handling? I guess that not everyone invents the wheel again while programming with sockets?
Thank you for any kind of information regarding this topic.
twickl
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我强烈考虑 CocoaAsyncSocket。它具有您需要的所有回调。还有 Tcp 和 UDP 版本。
I would strongly consider CocoaAsyncSocket. It has very much all the callbacks you will need. There are also a version for Tcp and UDP as well.