web server

Hello ,
I ask your help to make a program who will be a Web server written in C + + and listening with a socket through a predefined port (for
eg 8080). The program must send to any browser that a Web form
with three fields that the user must complete: an exclusive choice between encoding or decoding, an area
short text for the password (key), and a long text box to receive the message. The form also includes a button to submit the form content and a response from
server. This response is a simple Web page containing the text resulting from the encryption (or decryption).
I do the programs in c + + to encrypt or decrypt a message, and the html page as described in the subject but I don't know how to make a webserver.
I searched on internet for examples of web server in c + + either Linux or Windows but I have found nothing.
Please help me .
Last edited on
How we can communicate between the html who send the choice of the user like i want to decode with 12 as key my message is hello , and the webserver for get this and execute the choice with the C++ programm for decrypt or encrypt
By using forms:
http://www.w3.org/TR/html4/interact/forms.html

If you use the post method, the data will be in the body of the POST request.
Topic archived. No new replies allowed.