diff options
-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)) |