libwebserver Info
What's libwebserver for?
This lib is intended to add webserver functionality to programs instead of using an external webserver.
Two examples for embedded webservers that i know of are simple (shoutcast (i guess), and webTV (teletext as a webpage (from pinnacle)); and many others probably do the same.
Who's supposed to use libwebserver?
This is mainly developed for developers to make it easier to write a web interface to their software, (note a webbrowser is commonly available in most operating
systems) so it is like a portable "terminal" that can be accessed from any computer (with a browser of course...).
When am i supposed to use libwebserver?
For example, imagine that you are developing a daemon and want to check stats or re-configure at run-time;
with this library you can add a listen port for runtime, and connect with whatever browser (via HTML interface)
without dependencies of an external webserver.
You can even do a webserver (of course), just use your imagination.
Another quite simple example, a sound recorder (using only local connections for security reasons) uses a web interface to control
/dev/dsp reading/writing (via HTML interface).
there are many other things you can do ...
Is there support for server scripts such as .php .cgi .asp?
Well, this library only provides web server functions that make a server running, server scripts can be supported if you want to do it:
you can develop a handler for type ".something" or whatever, this package provides a .cgi handler as an example, (use at your own risk or make it better).