Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.
- The web browser requests a webpage using HTTP.
- The web browser establishes a TCP connection with the web server.
- The web server sends the requested webpage using HTTP.
- The web browser resolves the domain name using DNS.
Explanation: The web browser first need to figure out IP address of site from url using DNS, then establishes a TCP connection, typically at port 80. Once the TCP connection is established, the browser sends a HTTP request using GET. Finally web server responds with HTTP response.
Quiz of this Question
Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.