mirror of
https://github.com/python/cpython.git
synced 2025-11-09 18:11:38 +00:00
Fix broken link to MSDN (GH-102355)
(cherry picked from commit 9a8b66b58c)
Co-authored-by: 谭九鼎 <109224573@qq.com>
This commit is contained in:
parent
c39a1d0ba9
commit
8a99debc12
2 changed files with 2 additions and 2 deletions
|
|
@ -909,7 +909,7 @@ def create_server(address, *, family=AF_INET, backlog=None, reuse_port=False,
|
|||
# address, effectively preventing this one from accepting
|
||||
# connections. Also, it may set the process in a state where
|
||||
# it'll no longer respond to any signals or graceful kills.
|
||||
# See: msdn2.microsoft.com/en-us/library/ms740621(VS.85).aspx
|
||||
# See: https://learn.microsoft.com/windows/win32/winsock/using-so-reuseaddr-and-so-exclusiveaddruse
|
||||
if os.name not in ('nt', 'cygwin') and \
|
||||
hasattr(_socket, 'SO_REUSEADDR'):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue