iPhone上でwebサーバってうごくのかな?っておもったから、リンクをまずはあつめてみようとおもったのでありました。
http://golog.plus.vc/iphone/879/
http://golog.plus.vc/iphone/879/
全てPDFで提供されています。
ですのでiPhoneでPDFを開き、iBooksで保存することが出来ます。
http://cocoawithlove.com/2009/07/simple-extensible-http-server-in-cocoa.html
http://blogs.oreilly.com/iphone/2008/09/creating-an-iphone-based-web-s.html
https://github.com/robbiehanson/CocoaHTTPServer
テンプレートをつかうような、組み込みには向いていない?
https://github.com/jgillick/Ganzbot-Controller
http://www.cocoadev.com/index.pl?AsyncSocket
http://culturedcode.com/cocoa/
http://stackoverflow.com/questions/478719/what-classes-do-i-use-to-make-an-iphone-act-as-a-server
Cocoa provides lots of support for client-side networking but not a lot for server-side. At the lowest level, you can use normal BSD sockets. The next level up is CoreFoundation (plain C but using Cocoa-like types). Relevant CoreFoundation APIs are CFNetwork, CFSocket and CFStream (CFStream is a file-stream that can have its source through a network -- it is not a System V style network Stream). In Objective-C, you can look at NSStream which is the Objective-C equivalent of CFStream.
http://stackoverflow.com/questions/352676/how-can-i-connect-iphone-and-web-service-and-get-xml-data
http://opendevlog2.blogspot.jp/2012/05/objective-c.html
http://macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-cocoa-web-server.html
コールバック関数の実装
ソケット通信クライアント側の実装
https://github.com/johnezang/JSONKit
http://fernweh.jp/b/objective-c-base64/#id-4
http://growthfield.hatenablog.jp/category/objective-c
クライアント側がiPhoneでサーバ側がnode,socket.ioという構成