The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+8 votes
915 views

Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.

  1. The web browser requests a webpage using HTTP.
  2. The web browser establishes a TCP connection with the web server.
  3. The web server sends the requested webpage using HTTP.
  4. The web browser resolves the domain name using DNS.
  1. 4, 2, 1, 3
  2. 1, 2, 3, 4
  3. 4, 1, 2, 3
  4. 2, 4, 1, 3
asked in Web Technologies by Veteran (99.8k points) | 915 views

2 Answers

+9 votes
Best answer
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.
answered by Loyal (8.3k points)
selected by
+9 votes
4 2 1 3
answered by Boss (11.5k points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

38,010 questions
45,507 answers
131,664 comments
48,697 users