summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2016-11-22 10:06:18 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2016-11-22 10:06:18 (GMT)
commit7ad48943a02197c08c3f4dad1fddb3a25a890783 (patch)
treee701935ad9e0d2a4fe283c28eb0a3ac794cdf3fd /win
parentcf129d3fe24fce42cf8b9e76dc2a1c8ad2c89dc6 (diff)
downloadtcl-7ad48943a02197c08c3f4dad1fddb3a25a890783.zip
tcl-7ad48943a02197c08c3f4dad1fddb3a25a890783.tar.gz
tcl-7ad48943a02197c08c3f4dad1fddb3a25a890783.tar.bz2
This is patch.002 from ticket [0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696|0b9d3ba2ba], as first start of tip-456 implementation
FossilOrigin-Name: ae02accafa567f2bad8a9f1b05ef39a0e2ed3067
Diffstat (limited to 'win')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index ec881d2..af8dda1 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -2111,8 +2111,8 @@ Tcl_OpenTcpServer(
/*
* Bind to the specified port. Note that we must not call
- * setsockopt with SO_REUSEADDR because Microsoft allows addresses
- * to be reused even if they are still in use.
+ * setsockopt with SO_REUSEADDR or SO_REUSEPORT because Microsoft
+ * allows addresses and ports to be reused even if they are still in use.
*
* Bind should not be affected by the socket having already been
* set into nonblocking mode. If there is trouble, this is one