socket in python 2.2 vs 2.1
Ivan Bykov
ivan at kupol.ru
Wed Feb 20 00:08:52 EST 2002
More information about the Python-list mailing list
Wed Feb 20 00:08:52 EST 2002
- Previous message (by thread): socket in python 2.2 vs 2.1
- Next message (by thread): socket in python 2.2 vs 2.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello! This code working in Python 2.1 and not working in Python 2.2. Testing under Windows 98 and 2000. This code want to send UDP packets for all. === PythonWin 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32. Portions Copyright 1994-2001 Mark Hammond (mhammond at skippinet.com.au) - see 'Help/About PythonWin' for further copyright information. >>> import socket >>> tst=socket.socket(socket.AF_INET, socket.SOCK_DGRAM) >>> tst.connect(('255.255.255.255',5555)) Traceback (most recent call last): File "<interactive input>", line 1, in ? File "<string>", line 1, in connect gaierror: (7, 'getaddrinfo failed') >>> === It`s bug? -- Best regards, Ivan Bykov mailto:ivan at kupol.ru
- Previous message (by thread): socket in python 2.2 vs 2.1
- Next message (by thread): socket in python 2.2 vs 2.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list