我有一个C ++应用程序,并寻找一个库,这将使它成为一个HTTP服务器,能够提供静态文件,以及执行非常简单的任务。唯一的限制是它必须是跨平台的。
I have a C++ app and looking for a library that would make it a HTTP Server that's able to serve static files as well as perform very simple tasks. The only constraint is that it must be Cross-platform.
我的选择是什么。
Clarify:我的应用程序需要一个web界面。此应用程序是执行其他任务的后台程序。我想提供一种方法,以便您可以访问 http:// localhost:9999 / performtask 或 http:// localhost:9999 / viewstatus
Clarify: I need a web interface for my application. This application is a background program that does other tasks. I want to provide a way so you can access localhost:9999/performtask or localhost:9999/viewstatus
澄清2: a href =www.gnu/software/libmicrohttpd/ =nofollow> www.gnu/software/libmicrohttpd/
clarification2: something like this www.gnu/software/libmicrohttpd/
推荐答案请参阅此问题。我最终选择了 Mongoose 。
See this question. I ended up choosing Mongoose.
更多推荐
给C ++应用程序一个HTTP Web服务器功能
发布评论