Commit 48b805c0 authored by Guido van Rossum's avatar Guido van Rossum

SO_REUSEPORT should be SO_REUSEADDR.

I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
parent 5081b227
......@@ -67,7 +67,7 @@ def openmcastsock(group, port):
#
# Allow multiple copies of this program on one machine
# (not strictly needed)
s.setsockopt(SOL_SOCKET, SO_REUSEPORT, 1)
s.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
#
# Bind it to the port
s.bind(('', port))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment