Message413579
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() |
|
| Date |
User |
Action |
Args |
| 2022-02-20 10:27:09 | alex.gronholm | set | recipients:
+ alex.gronholm, asvetlov, yselivanov |
| 2022-02-20 10:27:09 | alex.gronholm | set | messageid: <[email protected]> |
| 2022-02-20 10:27:09 | alex.gronholm | link | issue46805 messages |
| 2022-02-20 10:27:09 | alex.gronholm | create | |
|