fix bind arg

This commit is contained in:
Guido van Rossum 1994-10-08 19:13:48 +00:00
parent 37f142d1d1
commit 00d59746f6
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ import sys
from socket import *
s = socket(AF_INET, SOCK_DGRAM)
s.bind('', MYPORT)
s.bind(('', MYPORT))
while 1:
data, wherefrom = s.recvfrom(1500, 0)