Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Why is the TCP protocol a three-way handshake instead of two

Shulou Source: shulou.com Published: 2022-06-02 06:26:48 10月01日 Update

This article mainly explains why the TCP protocol is a three-way handshake instead of two. Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn why the TCP protocol is a three-way handshake instead of two.

In order to achieve reliable data transmission, both sides of the TCP protocol must maintain a sequence number to identify which packets have been accepted by the other party. The process of three-way handshake is a necessary step for both parties to tell each other the starting value of the serial number and to determine that the other party has received the starting value of the serial number.

If there are only two handshakes, at most the client can determine that the server has received the starting value of the serial number sent by itself, while the starting value of the serial number on the server side cannot confirm whether it has been received by the client.

At this point, I believe you have a better understanding of why the TCP protocol is a three-way handshake instead of two. You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Sequence serial number start content both sides client client each other data server learning service practical deeper interest but practical practical own easy to operate Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Redmi Shulou Technology Xiaomi NVidia