Skip to main content

Crate udp

Crate udp 

Expand description

UDP module for Rama.

§Rama

Crate used by the end-user rama crate and rama crate authors alike.

Learn more about rama:

Structs§

UdpFramed
A unified Stream and Sink interface to an underlying UdpSocket, using the Encoder and Decoder traits to encode and decode frames.
UdpSocket
A UDP socket.

Functions§

bind_udp_socket_with_connect
Bind a UdpSocket to the local interface and connect to the given host and port using the provided DNS resolver, in case the host is a Domain, otherwise the IpAddr will be used as-is.
bind_udp_socket_with_connect_default_dns
Bind a UdpSocket to the local interface and connect to the given host and port using the global DNS resolver, in case the host is a Domain, otherwise the IpAddr will be used as-is.
bind_udp_with_address
Creates a new UdpSocket, which will be bound to the specified address.
bind_udp_with_device
Creates a new UdpSocket, which will be bound to the specified (interface) device name).
bind_udp_with_socket
Creates a new UdpSocket, which will be bound to the specified socket.