问题
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