Is there a way to reduce the TIME_WAIT length on a socket? It seems like it
takes a long time before the Port attached to a given socket can be
reused…
Mark
Is there a way to reduce the TIME_WAIT length on a socket? It seems like it
takes a long time before the Port attached to a given socket can be
reused…
Mark
Mark Harris <mhar@dictaphone.com> wrote:
Is there a way to reduce the TIME_WAIT length on a socket? It seems like it
takes a long time before the Port attached to a given socket can be
reused…
No. If you want to reuse the port/addr, check out SO_REUSEADDR/SO_REUSEPORT
in get/setsockopt().
Note, I think ttcpip only support SO_REUSEADDR.
-xtang