lev
udp() -> socket, err
socket
err
Create a non-blocking UDP socket
Returns a wrapped UDP socket that integrates with the event loop. The recvfrom method yields the current coroutine until data arrives, with optional timeout and cancellation support.
recvfrom