-
Notifications
You must be signed in to change notification settings - Fork 0
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
简述UDP、TCP的异同点 #5
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
两者之间的异同
相同点
1、都属于TCP/IP协议
2、都属于传输层
不同点
1、TCP基于连接,UDP不是
2、UDP对系统资源要求更低(UDP要8字节,TCP至少20个字节)
3、UDP协议结构更加简单
4、TCP的数据传输保证可靠,UDP则不一定
5、TCP保证数据顺序,UDP不保证
6、UDP速度比较快
The text was updated successfully, but these errors were encountered: