Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于TCP三次握手 #8

Open
Zjd1996 opened this issue Mar 8, 2020 · 2 comments
Open

关于TCP三次握手 #8

Zjd1996 opened this issue Mar 8, 2020 · 2 comments

Comments

@Zjd1996
Copy link

Zjd1996 commented Mar 8, 2020

关于TCP三次握手为什么不能是两次的原因:

  • 首先,两次握手无法保证Client正确接收第二次握手的报文,从而无法保证Client和Server之间建立的是双向的对称“链路”,也无法保证Client和Server之间成功互换初始序列号。
  • 其次,可能出现已失效的连接请求报文被Server再次接收,从而可能建立不需要的连接,浪费资源。
@wolverinn
Copy link
Owner

谢谢

@Zjd1996
Copy link
Author

Zjd1996 commented Mar 8, 2020

在参考您的笔记学习中...感谢分享

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants