C/C++ - 任何好的 Web 服务器库?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1486818/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
C/C++ - Any good web server library?
提问by Alon Gubkin
Are there any open source, fast web server libraries? Thanks.
是否有任何开源、快速的 Web 服务器库?谢谢。
采纳答案by Alex B
mongoose(formely shttpd, GPL v2 and commercial license), libmicrohttpd(LGPL v2.1 license).
猫鼬(以前shttpd,GPL v2和商业许可),libmicrohttpd(LGPL 2.1许可)。
回答by Chaosteil
回答by MRG
If you want to play with the concept you can check this codproject article.
如果你想玩这个概念,你可以查看这篇 codproject 文章。
You can also check this wikipedia articlewhcih compares major light weight embedded server.
您还可以查看这篇维基百科文章,其中比较了主要的轻量级嵌入式服务器。
You can check AppWeb Http Serveralso.
您也可以检查AppWeb Http Server。
回答by m.m.
Take a look at Qt. I don't know if it's fast enough for you, but it has a nice network module. You also get SQL and XML modules, and a lot more (which can be nice depending on your needs), for free. GPL/LGPL and cross-platform.
看看Qt。我不知道它对你来说是否足够快,但它有一个很好的网络模块。您还可以免费获得 SQL 和 XML 模块,以及更多(这取决于您的需要)。GPL/LGPL 和跨平台。