网络编程-TCP状态图详细说明 没有不懂的
来源:互联网 发布:社区服务网络是什么 编辑:程序博客网 时间:2024/06/05 23:43
net/ipv4/tcp.c
* Description of States:
*
* TCP_SYN_SENT sent a connection request, waiting for ack
*
* TCP_SYN_RECV received a connection request, sent ack,
* waiting for final ack in three-way handshake.
*
* TCP_ESTABLISHED connection established
*
* TCP_FIN_WAIT1 our side has shutdown, waiting to complete
* transmission of remaining buffered data
*
* TCP_FIN_WAIT2 all buffered data sent, waiting for remote
* to shutdown
*
* TCP_CLOSING both sides have shutdown but we still have
* data we have to finish sending
*
* TCP_TIME_WAIT timeout to catch resent junk before entering
* closed, can only be entered from FIN_WAIT2
* or CLOSING. Required because the other end
* may not have gotten our last ACK causing it
* to retransmit the data packet (which we ignore)
*
* TCP_CLOSE_WAIT remote side has shutdown and is waiting for
* us to finish writing our data and to shutdown
* (we have to close() to move on to LAST_ACK)
*
* TCP_LAST_ACK out side has shutdown after remote has
* shutdown. There may still be data in our
* buffer that we have to finish sending
*
* TCP_CLOSE socket is finished
*/
*
* TCP_SYN_SENT sent a connection request, waiting for ack
*
* TCP_SYN_RECV received a connection request, sent ack,
* waiting for final ack in three-way handshake.
*
* TCP_ESTABLISHED connection established
*
* TCP_FIN_WAIT1 our side has shutdown, waiting to complete
* transmission of remaining buffered data
*
* TCP_FIN_WAIT2 all buffered data sent, waiting for remote
* to shutdown
*
* TCP_CLOSING both sides have shutdown but we still have
* data we have to finish sending
*
* TCP_TIME_WAIT timeout to catch resent junk before entering
* closed, can only be entered from FIN_WAIT2
* or CLOSING. Required because the other end
* may not have gotten our last ACK causing it
* to retransmit the data packet (which we ignore)
*
* TCP_CLOSE_WAIT remote side has shutdown and is waiting for
* us to finish writing our data and to shutdown
* (we have to close() to move on to LAST_ACK)
*
* TCP_LAST_ACK out side has shutdown after remote has
* shutdown. There may still be data in our
* buffer that we have to finish sending
*
* TCP_CLOSE socket is finished
*/
0 0
- 网络编程-TCP状态图详细说明 没有不懂的
- MFC:网络编程TCP/IP 附挺详细的注释
- MFC:网络编程TCP/IP 附挺详细的注释
- TCP网络编程接口详细介绍
- Go语言TCP网络编程(详细)
- Go语言TCP网络编程(详细)
- TCP的连接和终止(详细说明)
- tcp 状态图
- tcp状态图
- TCP状态图
- TCP状态图
- TCP状态图
- TCP 状态图
- QT的TCP网络编程
- QT的TCP网络编程
- 基于TCP的网络编程
- Qt的Tcp网络编程
- 基于TCP的网络编程
- 学习笔记:模式学习-生成器模式
- Dynamically changing the linearlayout width or height on Android
- mybatis generator 生成完整的.xml
- Linux搭建VPN
- 时间给你一个缝 你就想往里转-兄弟连IT教育
- 网络编程-TCP状态图详细说明 没有不懂的
- 360加固之libjiagu.so脱壳及dex dump
- spring中bean的创建
- 常用基本逻辑电路相关介绍
- IDEA 14配置jdk,tomcat及热部署
- android sdcard存储方案(基于wrapfs文件系统)
- easyui超链接中使用session值
- AJAX访问PHP
- C# 用Attribute实现AOP事务