This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alex.gronholm
Recipients alex.gronholm, asvetlov, yselivanov
Date 2022-02-20.10:27:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
The asyncio module currently has a number of low-level functions for working asynchronously with raw socket objects. Such functions for working with UDP sockets are, however, notably absent, and there is no workaround for this. You can of course use sock_receive() with UDP sockets but that would discard the sender address which is a showstopper problem. Also, having a send function that applies back pressure to the sender if the kernel buffer is full would also be prudent.

I will provide a PR if you're okay with this.
It would include the following functions:

* sock_sendto()
* sock_recvfrom()
* sock_recvfrom_into()
History
Date User Action Args
2022-02-20 10:27:09alex.gronholmsetrecipients: + alex.gronholm, asvetlov, yselivanov
2022-02-20 10:27:09alex.gronholmsetmessageid: <[email protected]>
2022-02-20 10:27:09alex.gronholmlinkissue46805 messages
2022-02-20 10:27:09alex.gronholmcreate