Review of the TCP network

It works reliable transmission

1 stop and wait protocol
After each send a packet to stop sending, wait for confirmation. Errors, retransmission timeout.
    1.1 escrowed copy of the packet has been sent
    1.2 acknowledgment packet and the packet must be numbered
    1.3 retransmission time than the average round-trip time of data packet transmission longer
2 continuous ARQ protocol (Automatic Repeat Request ARQ) 
    Recipient of cumulative acknowledgment mode, sends an acknowledgment to the last packet arrival order.
 

Sliding window

    Not recommended forefront shrink back

Congestion Control

    Network initial setting threshold r, the initial network start window index increases from 1, is increased to r, the addition increases.
  When network congestion occurs when equal to a, from the beginning again, increases exponential growth index (a / 2), ... congestion additive increase (b) of this process cycle.

Reproduced in: https: //my.oschina.net/u/204616/blog/545091

Guess you like

Origin blog.csdn.net/weixin_34406796/article/details/91989455