Im making an iPhone application that sends commands and retrieves data through an UDP connection.
我有一个问题,因为我之前的问题没有得到回答,而且我现在无法修复它,我正在寻找其他两种方法来实现 UDP 连接。
- UDP回声
- C代码
哪个更好[优点/缺点],哪个更容易或建议将其实现到 iphone 应用程序中?
Im making an iPhone application that sends commands and retrieves data through an UDP connection.
我有一个问题,因为我之前的问题没有得到回答,而且我现在无法修复它,我正在寻找其他两种方法来实现 UDP 连接。
哪个更好[优点/缺点],哪个更容易或建议将其实现到 iphone 应用程序中?
UDPEcho已经为您设置了 iOS 项目,因此除非您之后需要将您的应用程序移植到其他平台,否则与 C 代码相比,这将给您一个先机。