TCP
A protocol that opens a connection, checks for errors, resends what's lost and delivers everything in order. Reliable but slower.
Analogy
Like registered mail: it surely arrives and you're told it did, but it takes longer.
Test yourself: TCP
TCP and UDP
What does TCP do before sending data?
TCP is connection-oriented: first both devices agree to talk, and only then do, say, a page's 1,000 packets travel.
TCP and UDP
With TCP, a lost packet is ___ again.
With UDP, if 5 of 1,000 packets are lost, those 5 never arrive. With TCP they're resent and all 1,000 arrive.
TCP and UDP
Which of these is an advantage of TCP?
TCP resends what's lost: if 5 of 1,000 packets are lost, all 1,000 still arrive. Lower latency and broadcast belong to UDP.
0/3
â–¶ Play