Nicu Surdu
Nicu Surdu

Reputation: 8301

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

Upvotes: 16

Views: 16689

Answers (1)

AliSoftware
AliSoftware

Reputation: 32681

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.

Upvotes: 13

Related Questions