Computer Network Chapter 5-Transport Layer Study Notes

5.1 Overview of Transport Layer Protocol

5.1.1 Communication between processes

Insert picture description here

  • Why do you need a transport layer?
    Insert picture description here
  • The main difference between transport layer protocol and network layer protocol
    Insert picture description here

5.1.2 Two protocols in the transport layer

UDP
TCP
Insert picture description here

5.1.3 Port

Use the port to uniquely identify the application process.
Insert picture description here

  • Insert picture description here

5.2 User Datagram Protocol UDP

Insert picture description here

5.3 Transmission Control Protocol TCP

Insert picture description here

  • Socket
    Insert picture description here
    Insert picture description here

5.4 Working principle of reliable transmission

  • The Insert picture description here
    disadvantage of the stop-and-wait protocol is that the channel utilization is too low.
    The improvement method is to use pipeline transmission.
    Insert picture description here
  • Continuous ARQ protocol
    Insert picture description here
    Insert picture description here
    Insert picture description here

5.6 Realization of TCP reliable transmission

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

5.7 TCP flow control

Insert picture description here

  • Solutions to two problems
    Insert picture description here
    Insert picture description here
    Insert picture description here

5.8 TCP congestion control

Insert picture description here
Insert picture description here

  • Slow start and congestion avoidance
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here
  • Fast retransmission and fast recovery
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here

5.9 TCP transport connection management

  • Three-way handshake when TCP connection is established
    Insert picture description here
    Insert picture description here
  • Four waves when TCP disconnects
    Insert picture description here
    Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43655282/article/details/108133738