Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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 desktop 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 ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
423 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...