iphone 作为移动网络服务器
我正在为 iphone 编写一个应用程序,通过为其分配一个 IP 地址来作为移动 Web 服务器运行。我们如何在不使用服务器 man 应用程序的情况下在 iphone 中部署移动 Web 服务器?
Am writing an application for iphone to run as mobile web server by assigning one IP address to it.How can we deploy mobile web server in iphone without using servers man application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 Robbie Hanson 的 CocoaHTTPServer 之类的框架来响应 iPhone 应用程序中的 Web 请求。不过,我认为您想问是否可以在后台运行网络服务器,而无需运行应用程序。
答案是不可能,除非你有越狱的设备。
You can use a framework like Robbie Hanson's CocoaHTTPServer to respond to web requests in an iPhone app. However I think you are trying to ask whether it's possible to to run a web server in the background, without having an app running.
The answer is that it's not possible, unless you have a jailbroken device.