Three widely used transport layers:
-
TCP (reliable bi-directional byte stream), UDP(unreliable delivery of datagrams between applications), ICMP(detect when things go wrong, e.g. ping, traceroute)
-
End-to-end principle: 功能放到断点,giving mild reason and strong reason
-
How TCP builds up reliable connections:
- data errors and missing packets
- sliding window
- retransmission
- TCP finite state machine, tracks current status and transmission