C/C++ - Any good web server library? [closed]

落爺英雄遲暮 提交于 2019-11-27 11:49:40

问题


Are there any open source, fast web server libraries? Thanks.


回答1:


mongoose (formely shttpd, GPL v2 and commercial license), libmicrohttpd (LGPL v2.1 license).




回答2:


As far as I know, libevent has a great event-driven and lightweight http server header.




回答3:


If you want to play with the concept you can check this codproject article.

You can also check this wikipedia article whcih compares major light weight embedded server.

You can check AppWeb Http Server also.




回答4:


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.

http://doc.trolltech.com/4.5/qtnetwork.html



来源:https://stackoverflow.com/questions/1486818/c-c-any-good-web-server-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!