Build a simple multithreaded web server program -- 2
$10-30 USD
Cancelado
Publicado hace casi 8 años
$10-30 USD
Pagado a la entrega
The web server should accept a parameter port number and would listen on the supplied port,
use 80 if no port number is provided.
Your web server should be able to serve more than one client simultaneously.
Upon receipt of HTTP GET request, it would return a HTML response with status code 200 and
an HTML file regardless of the path in URL. In the HTML file you need to display a welcome
message as well as the file path requested. E.g., GET /[login to view URL] HTTP/1.1 should result in an
HTML page as follows:
<html>
<head>
<title>Welcome</title>
</head>
<body>
Hello, World!<br>
You are currently visting "[login to view URL]".
</body>
</html>