5.1 Overview of Transport Layer Protocol
5.1.1 Communication between processes
- Why do you need a transport layer?
- The main difference between transport layer protocol and network layer protocol
5.1.2 Two protocols in the transport layer
UDP
TCP
5.1.3 Port
Use the port to uniquely identify the application process.
5.2 User Datagram Protocol UDP
5.3 Transmission Control Protocol TCP
- Socket
5.4 Working principle of reliable transmission
- The
disadvantage of the stop-and-wait protocol is that the channel utilization is too low.
The improvement method is to use pipeline transmission.
- Continuous ARQ protocol
5.6 Realization of TCP reliable transmission
5.7 TCP flow control
- Solutions to two problems
5.8 TCP congestion control
- Slow start and congestion avoidance
- Fast retransmission and fast recovery
5.9 TCP transport connection management
- Three-way handshake when TCP connection is established
- Four waves when TCP disconnects