1. 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
** I have servercode
7 威客就此工作平均出价 $66
Hi! I can make this multi-threaded for you. Please message me if you have any questions for me. I have experience of a similar project in the past, can this one easily. Thank You!
Is the server code needs to be improved? What the server does in general? It's unclear from your description. Will do the job fast and easily after all details provided, thank you.