Cweb is a project mainly written in C, it's free.
HTTP Server demonstration
CWeb is a simple web server written in C. Its purpose is to show how the low level aspects of the web work, from TCP/UDP/IP packet encapsulation to Unix Sockets to HTTP requests.