diff options
Diffstat (limited to 'Demo/sockets/broadcast.py')
-rwxr-xr-x | Demo/sockets/broadcast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/broadcast.py b/Demo/sockets/broadcast.py index e7e6b9b..4b30143 100755 --- a/Demo/sockets/broadcast.py +++ b/Demo/sockets/broadcast.py @@ -7,7 +7,7 @@ from socket import * from SOCKET import * s = socket(AF_INET, SOCK_DGRAM) -s.bind('', 0) +s.bind(('', 0)) s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1) while 1: |