[][src]Module runtime::net::udp

Asynchronous UDP bindings.

To create a bi-directional UDP socket use UdpSocket::bind. Sending data from the socket is done by using send_to which returns the SendTo future. Reading data from the socket is done by using recv_from which returns the RecvFrom future.

Structs

RecvFromFuture

The future returned by UdpSocket::recv_from.

SendToFuture

The future returned by UdpSocket::send_to.

UdpSocket

A UDP socket.