我的电脑是Windows 7,我想知道是否有一个类似的选项来打开TIME_WAIT重用,就像Linux上的tcp_tw_reuse ? 谢谢
是的,不pipe操作系统如何,重新使用TCP套接字的延迟都不是可选的。 这是协议规范的强制性部分。
您可以在registry中configuration它。
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
TcpTimedWaitDelay REG_DWORD 0x1e (30)
https://technet.microsoft.com/en-us/library/cc938217.aspx?f=255&MSPPError=-2147217396