No connection open yet.40 km · 0 trips to the shop
Chapter 3 of 7
Hello, hello, ready
The browser has the shop’s address. Before it can ask for the page, it has to open a line to the shop.
This chapter: What does opening a connection cost, and why does distance matter?
About this chapter
You will learn
- TCP opens a connection with a handshake
- A handshake costs a round trip before any data
- Distance multiplies every round trip
Words you’ll meet
- TCP
- The rules computers use to send data reliably, in order, over an open connection.
- Handshake
- Messages two computers swap to set up a connection before any real data flows.
- Round trip
- A message’s journey to the other side and the reply’s journey back.
Step 1 of 5
Address known, the browser opens a connection: hello, hello back, ready. This costs one .
Open one for Ines.