You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the standard python's stdlib's asyncio has create_datagram_endpoint, which essentially allows to act on a received UDP packet / "datagram" in an obvious way (see the udp echo server example).
It would be great if this would be implemented in uasyncio.
Currently something analogous can be done in micropython can be seen here
but it's hard to understand what's going on. Plus it uses asyncio.core._io_queue.queue_read that at least from naming looks internal, and is not documented.
I'd like to make this a feature request issue, but there it says to start a discussion here first, so here's the discussion.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
the standard python's stdlib's asyncio has
create_datagram_endpoint
, which essentially allows to act on a received UDP packet / "datagram" in an obvious way (see the udp echo server example).It would be great if this would be implemented in uasyncio.
Currently something analogous can be done in micropython can be seen here
but it's hard to understand what's going on. Plus it uses asyncio.core._io_queue.queue_read that at least from naming looks internal, and is not documented.
I'd like to make this a feature request issue, but there it says to start a discussion here first, so here's the discussion.
Beta Was this translation helpful? Give feedback.
All reactions