1

为什么不需要四次握手?

 2 years ago
source link: https://www.cxyxiaowu.com/16474.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为什么不需要四次握手?-吴师兄学编程
当前位置:吴师兄学编程 > 计算机网络 > 为什么不需要四次握手?

有人可能会说 A 发出第三次握手的信息后在没有接收到 B 的请求就已经进入了连接状态,那如果 A 的这个确认包丢失或者滞留了怎么办?

我们需要明白一点,完全可靠的通信协议是不存在的。在经过三次握手之后,客户端和服务端已经可以确认之前的通信状况,都收到了确认信息。所以即便再增加握手次数也不能保证后面的通信完全可靠,所以是没有必要的。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK