New submission from Kristoffer Nilsson <[email protected]>:
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)
sock.bind(('', 10015))
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
messages: 131731
nosy: Kristoffer.Nilsson
priority: normal
severity: normal
status: open
title: Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11631>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com