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

linux服务器——accept()、connect()发生在三次握手的哪一步? #7

Open
gouzidama opened this issue Aug 24, 2022 · 1 comment

Comments

@gouzidama
Copy link

accept应该是发生在三次握手之后?
connect发生在三次握手之前?

@guaguaupup
Copy link
Owner

accept是可以肯定发生在三次握手之后的,至于connect的话只是发一个syn而已,可以理解为发生在之前吧

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