文件名称:Reuse_Of_TCP_PORT
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.41kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
bind 普遍遭遇的问题是试图绑定一个已经在使用的端口。该隐患是也许没有活动的套接字存在,但仍然禁止绑定端口(bind 返回 EADDRINUSE),它由 TCP 套接字状态 TIME_WAIT 引起。该状态在套接字关闭后约保留 2 到 4 分钟。在 TIME_WAIT 状态退出之后,套接字被删除,该地址才能被重新绑定而不出问题。本文提出了解决该问题的方法。-bind common problem encountered is trying to bind a port already in use. The hidden danger is no active socket may exist, but are still prohibited to bind to port (bind to return EADDRINUSE), it is caused by the TCP socket TIME_WAIT state. The state retained in the socket after the closure of about 2 to 4 minutes. Out in the TIME_WAIT state, the socket is deleted, the address can be re-bound without problems. In this paper, to solve the problem.
相关搜索: eaddrinuse bi
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TCP端口重用.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。