Skip to main content

Module udp_socket

Module udp_socket 

Source
Expand description

Async UdpSocket — non-blocking UDP datagram socket.

send_to / recv_from return futures that resolve when the OS is ready to send or has data available, using the reactor’s waker registry.

Structs§

RecvFromFuture
Future returned by UdpSocket::recv_from.
SendToFuture
Future returned by UdpSocket::send_to.
UdpSocket
Async UDP datagram socket.