commit | 00d59746f6d06e3dc7d85ff2ab05e0f3542de816 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Oct 08 19:13:48 1994 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Oct 08 19:13:48 1994 +0000 |
tree | e1df8b2e09f5dec6c8c6dfc1177735d501ccfa0b | |
parent | 37f142d1d1cb7e336fd82303081f2c8bad966819 [diff] [blame] |
fix bind arg
diff --git a/Demo/sockets/mcast.py b/Demo/sockets/mcast.py index 4011383..8c6298e 100755 --- a/Demo/sockets/mcast.py +++ b/Demo/sockets/mcast.py
@@ -73,7 +73,7 @@ s.setsockopt(SOL_SOCKET, SO_REUSEPORT, 1) # # Bind it to the port - s.bind('', port) + s.bind(('', port)) # # Look up multicast group address in name server # (doesn't hurt if it is already in ddd.ddd.ddd.ddd format)