c web server library

http://stackoverflow.com/questions/175507/c-c-web-server-library

 

I'm not aware of any such library, although there does seem to be a need. In lieu of somebody suggesting one, here's an alternate approach that I might recommend:

You might consider using a lightweight httpd daemon such as lighttpd and interfacing it with your app via FastCGI.

FastCGI is a socket mechanism where the web server will feed requests to your app, which can then answer with the content over a simple protocol. There are a number of libraries that implement FastCGI which should make it easy to use in your app.

 

 

 

1. lighttpd FastCGI

http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModFastCGI

 

2. libmircohttpd

http://www.gnu.org/software/libmicrohttpd/

 

http://www.fastcgi.com/drupal/

 

3. libebb

http://tinyclouds.org/libebb/

depends on libev(...libevent)

你可能感兴趣的:(C++,c,Web,C#,lighttpd)