diff options
author | Guido van Rossum <guido@python.org> | 1998-01-15 22:36:13 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-01-15 22:36:13 (GMT) |
commit | 48b805c07c18e56e06d2f30a83623072c2e4c5fd (patch) | |
tree | 181bd5c1e3237226889aeb19c6619d4f93dfcabd /Demo/sockets | |
parent | 5081b227f1283ba480ab4d8bea17013a3b7537d2 (diff) | |
download | cpython-48b805c07c18e56e06d2f30a83623072c2e4c5fd.zip cpython-48b805c07c18e56e06d2f30a83623072c2e4c5fd.tar.gz cpython-48b805c07c18e56e06d2f30a83623072c2e4c5fd.tar.bz2 |
SO_REUSEPORT should be SO_REUSEADDR.
I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
Diffstat (limited to 'Demo/sockets')
-rwxr-xr-x | Demo/sockets/mcast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/mcast.py b/Demo/sockets/mcast.py index 4cd8706..fe4aacb 100755 --- a/Demo/sockets/mcast.py +++ b/Demo/sockets/mcast.py @@ -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)) |