MultiThreaded Web Server

Building a MultiThreaded Web ServerIn this lab we will develop a Web server in two steps. In the end, you will have built a multithreadedWeb server that is capable of processing multiple simultaneous service requests in parallel. You should be able to demonstratethat your Web server is capable of delivering your home page to a Web browser.We are going to implement version 1.0 of HTTP, as defined in RFC 1945, where separate HTTP requests are sentfor each component of the Web page. The server will be able to handle multiple simultaneous service requests inparallel. This means that the Web server is multithreaded.In the main thread, 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 therequest in a separate thread. To simplify this programming task, we will develop the code in two stages. In the firststage, you will write a multithreadedserver that simply displays the contents of the HTTP request message that itreceives. After this program is running properly, you will add the code required to generate an appropriate response.As you are developing the code, you can test your server from a Web browser. But remember that you are notserving through the standard port 80, so you need to specify the port number within the URL that you give to yourbrowser. For example, if your machine’s name is host.someschool.edu, your server is listening to port 6789, andyou want to retrieve the file index.html, then you would specify the following URL within the browser for more information on MultiThreaded Web Server check on this:https://en.wikipedia.org/wiki/Multithreading

DNP Role Presentation

Don't use plagiarized sources. Get Your Custom Essay on
MultiThreaded Web Server
Just from $13/Page
Order Essay
                                                                                                                        ACME Writers