首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

tcp 连接的11类状态–转载

2012-09-11 
tcp 连接的11种状态–转载?一、Linux服务器上11种网络连接状态?、LAST_ACK:被动关闭端一段时间后,接收到文件

tcp 连接的11种状态–转载

?

一、Linux服务器上11种网络连接状态

?LAST_ACK:被动关闭端一段时间后,接收到文件结束符的应用程序将调用CLOSE关闭连接。这导致它的TCP也发送一个?FIN,等待对方的ACK.就进入了LAST-ACK .?/* The remote end has shut down, and the socket is closed. Waiting for acknowledgement.?等待原来发向远程TCP的连接中断请求的确认?*/

9)TIME_WAIT:在主动关闭端接收到FIN后,TCP就发送ACK包,并进入TIME-WAIT状态。/* The socket is waiting after close to handle packets still in the network.等待足够的时间以确保远程TCP接收到连接中断请求的确认?*/

4、JAVA1.6的相关参数说明:

a、http.keepAlive=<boolean>
default: true

Indicates if keep alive (persistent) connections should be supported.

b、http.maxConnections=<int>
default: 5

Indicates the maximum number of connections per destination to be kept alive at any given time

?

热点排行