阅读背景:

在C中关闭侦听TCP套接字

来源:互联网 

Suppose you have a socket listening on a TCP port, and some clients are connected. When one issues sock_close(fd) in C and tries to bind again on the same port, binding fails. Some TIME_WAIT state is seen on the "netstat -plutnoa" such as:Suppose you have a socket listening on a TCP po




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: