Hello Experts,
I am trying to incorporate the iPhoneHTTPServer to my current project, where I need to have the ability to export files via http. I am running into compilation issues. Full disclosure: I am not completely a newbie but I do this as a hobby... Can someone explain what are the steps and changes to do. here is what I'd ideally like to do.
1) copy all relevant files/folders for iPhoneHTTPServer to a directory into my project ( I have done this)
2) Would like to call a function initHTTPServer() in my project's mainfile's viewDidDownload(). initHTTPServer() is pretty much the same as the content of
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions in iPhoneHTTPServerAppDelegate.h . The [self startHTTPServer]; will be called via a seperate button.
How do I achieve this. Is there a clean way to just use say 3 functions(initHttpServer, StartHttpServer, StopHTTPServer) from outside the realm of iPhoneHTTPServer and just dont muck around with the server code?
thanks a lot,
-Vittal