summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-03-13 13:41:01 (GMT)
committerGitHub <noreply@github.com>2023-03-13 13:41:01 (GMT)
commit5e10479ede7329642049603d61cdb45f2c88d69d (patch)
tree702b0e2b9da7cc4df73a0dcad078ae161c8e55f5 /Lib/test
parenta01ad527e7627da9ac3ed9debd4c0e75c5318d11 (diff)
downloadcpython-5e10479ede7329642049603d61cdb45f2c88d69d.zip
cpython-5e10479ede7329642049603d61cdb45f2c88d69d.tar.gz
cpython-5e10479ede7329642049603d61cdb45f2c88d69d.tar.bz2
Fix broken link to MSDN (GH-102355)
(cherry picked from commit 9a8b66b58c74236959a01d579e2c156d9c2e7cb3) Co-authored-by: 谭九鼎 <109224573@qq.com>
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/support/socket_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/socket_helper.py b/Lib/test/support/socket_helper.py
index b516773..38c499b 100644
--- a/Lib/test/support/socket_helper.py
+++ b/Lib/test/support/socket_helper.py
@@ -58,7 +58,7 @@ def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM):
http://bugs.python.org/issue2550 for more info. The following site also
has a very thorough description about the implications of both REUSEADDR
and EXCLUSIVEADDRUSE on Windows:
- http://msdn2.microsoft.com/en-us/library/ms740621(VS.85).aspx)
+ https://learn.microsoft.com/windows/win32/winsock/using-so-reuseaddr-and-so-exclusiveaddruse
XXX: although this approach is a vast improvement on previous attempts to
elicit unused ports, it rests heavily on the assumption that the ephemeral