Message220134
Creating a UDP connection through ``create_datagram_endpoint`` when specifying both remote_addr and local_addr does not work; messages are not received. If remote_addr is removed, messages are received.
Easy to reproduce:
works: python3 client_good.py & python3 sender.py 127.0.0.1 8888
blocks?: python3 client_bad.py & python3 sender.py 127.0.0.1 8888
From the PEP I gather this really is a bug, since create_datagram_endpoint is supposed to be bidirectional::
create_datagram_endpoint(protocol_factory, local_addr=None, remote_addr=None, <options>). Creates an endpoint for sending and receiving datagrams (typically UDP packets). Because of the nature of datagram traffic, there are no separate calls to set up client and server side, since usually a single endpoint acts as both client and server. |
|
Date |
User |
Action |
Args |
2014-06-10 00:38:56 | ariddell | set | recipients:
+ ariddell, gvanrossum, vstinner, yselivanov |
2014-06-10 00:38:56 | ariddell | set | messageid: <1402360736.4.0.184657566107.issue21701@psf.upfronthosting.co.za> |
2014-06-10 00:38:56 | ariddell | link | issue21701 messages |
2014-06-10 00:38:54 | ariddell | create | |
|