开发者

Simple way to send and receive packets?

Could someone please link me to a simple tutorial that allows you to send and receive packets over a web server? All I need to do is be able to send a packet to a certain device with certain contents and have the device checking for new packets every second. Source code would also be helpful. Thanks for t开发者_如何学Gohe help.


You can look at the documentation for NSConnection, or you can use asihttprequest as a drop-in replacement, which is much better:

http://allseeing-i.com/ASIHTTPRequest/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜