[New-bugs-announce] [issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.
report at bugs.python.org
Tue Mar 22 10:30:39 CET 2011
New submission from Kristoffer Nilsson <novafaen at gmail.com>:
Running Windows 7 Enterprise 64 bit, and Python 7.2.1 64 bit Python failed to read and send UDP packages when ran in cmd.exe. This is not the case when ran with IDLE.
Example; two simple programs. First one listening to a UDP port
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
reading data from socket and printing the received data, using;
data, addr = sock.recvfrom(1024)
this will lock, if not ran from IDLE.
Same for sending data, using;
sock.sendto(DATA_MESSAGE, (HOST, 10015))
this will work with both, but only send when running from IDLE.
components: IDLE, Windows
title: Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce