1. TCP provides a connection-oriented, reliable, byte stream service.
2. TCP lacks selective acknowledgments because the acknowledgment number in the TCP header means that the sender has successfully received up through but not including that byte.
3. flags
URG - urgent pointer
ACK - 确认序号有效
PSH - 接收方应尽快把这个报文交给应用层
RST - 重建连接
SYN - 同步序号用来发起一个连接
FIN - 发送端完成发送任务
4. 校验和包括TCP首部和TCP数据
本文详细介绍了TCP协议的关键特性,包括其面向连接、可靠的字节流服务。解析了TCP缺乏选择确认的原因,并阐述了URG、ACK、PSH、RST、SYN及FIN等标志位的功能。此外,还介绍了TCP校验和的计算范围。
38万+

被折叠的 条评论
为什么被折叠?



