summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-22 10:06:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-22 10:06:18 (GMT)
commitee70b22d5958a32d40ebf81b0679d0982b4d1860 (patch)
tree072a9197dbf06651e219e0e12e395d9fda2885e1 /win
parent990d6fd6f1821960103d83cda547ef9a8c2199b8 (diff)
downloadtcl-ee70b22d5958a32d40ebf81b0679d0982b4d1860.zip
tcl-ee70b22d5958a32d40ebf81b0679d0982b4d1860.tar.gz
tcl-ee70b22d5958a32d40ebf81b0679d0982b4d1860.tar.bz2
This is patch.002 from ticket [0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696|0b9d3ba2ba], as first start of tip-456 implementation
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