I ve done the server but I need to answer the optional questions ( it is only 2 questions)
Currently, the web server handles only one HTTP request at a time. Implement a multithreaded server
that is capable of serving multiple requests simultaneously. Using threading, first create a main thread
in which your modified server listens for clients at a fixed port. When it receives a TCP connection
request from a client, it will set up the TCP connection through another port and services the client
request in a separate thread. There will be a separate TCP connection in a separate thread for each
2. Instead of using a browser, write your own HTTP client to test your server. Your client will connect
to the server using a TCP connection, send an HTTP request to the server, and display the server
response as an output. You can assume that the HTTP request sent is a GET method.
The client should take command line arguments specifying the server IP address or host name, the
port at which the server is listening, and the path at which the requested object is stored at the server.
The following is an input command format to run the client.
[url removed, login to view] server_host server_port filename
15 freelancers are bidding on average $19/hour for this job
Threading pool is one elegant policy！Threading pool is one elegant policy！Threading pool is one elegant policy！Threading pool is one elegant policy！Threading pool is one elegant policy！