Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone HTTP Server

Can someone give me simple code to help with creating an HTTP server for the iPhone. Something simple with much documentation would be appreciated. Anything you have please share.

like image 791
Andrew Avatar asked Feb 28 '23 08:02

Andrew


2 Answers

There are sample codes from Apple and open source community such as cocoahttpserver TouchHTTPD.

Here's a summary blog

like image 174
situee Avatar answered Mar 02 '23 01:03

situee


Another open-source HTTP server for iPhone is the lightweight GCDWebServer which is built on top of Grand Central Dispatch. It's only a few source code files and offers a simple and extensible API.

like image 34
Pol Avatar answered Mar 02 '23 01:03

Pol