mercredi 2 décembre 2015

Using multi-thread ,Build a simple HTTP server in C

As a school project , i was asked to build a simple HTTP server which can handle and process multiple and simultaneous requests , and to proof that this server will deliver my home page to the internet browser. (Using RFC 1945/HTTP 1.0)

I took a part of my project so you know how it goes - the server listens to a fixed port. When it receives a TCP connection request, it sets up a TCP connection through another port and services the request in a separate thread. To simplify this programming task, we will develop the code in two stages. In the first stage, you will write a multi-threaded server that simply displays the contents of the HTTP request message that it receives. After this program is running properly, you will add the code required to generate an appropriate response.

-Any ideas ? or any links ? , simples

Thank you for your precious time !




Aucun commentaire:

Enregistrer un commentaire