First, enter the URL after the press Enter, this time the DNS server to resolve the current URL by URL ip
;
To really look at IP
the future, this time the browser will web
initiate a server tcp
connection request ( three-way handshake ):
First : the establishment of a link, the client sends a syn
packet to the server, and enters SYN_SENT
(transmission control protocol) state, waiting for the server to confirm;
Second : the server receives a syn
packet, must confirm the customer syn
, while themselves transmit a ack
packet, i.e. syn + ack
the package, this time into the server SYN_RECV
(after passive open end of the service, the client receives syn
and transmits the ack
state) state;
Third : the client receives a server syn + ack
packet, send a confirmation packet to the server ack
, this package has been sent, the client and server into the ESTABLISHED
( tcp
successful connection) state, complete the three-way handshake;
After the end of the three-way handshake, the client and server to establish a good connection, this time the tcp
agreement is disconnected;
Began a visit to the default under the current server index.html
, and call the access resource file, display the corresponding content