Sending UDP packets from the iPhone

前端 未结 2 504
你的背包
你的背包 2021-01-30 09:42

Does anyone have any good tutorials on sending UDP packets from the iPhone SDK?

EDIT:

Was actually really easy to do this...

RTFM!

After

相关标签:
2条回答
  • 2021-01-30 10:18

    You can use the CFNetwork framwork to create a UDP socket with CFSocket. Here is the CFSocket reference.

    0 讨论(0)
  • 2021-01-30 10:25

    CocoaAsyncSocket is a nice library that contains a class called AsyncUdpSocket which is an Obj-C wrapper around the lower-level socket API.

    0 讨论(0)
提交回复
热议问题