开发者

How to write a small (socket) server in iOS

I saw this in some official iOS apps, so I know it's possible and permitted.

I want to write a small socket server in iOS that some other application, that I will write for a des开发者_运维技巧ktop machine, can connect to and read data from.

Anyone did something like this and can help me with some clues or knows a good starting point ?


You should read the Stream Programming Guide, the WiTap sample, and many other Programming Guides, Samples and Documentation in Apple's Doc, you will find everything there (including detailed explanations and code)

If you simply go to the home page of iOS SDK documentation and go in the "Networking & Internet Topics" you have plenty of resources too, including the Network & Internet Starting Point guide and much more.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜