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:
- Github: https://github.com/plabayo/rama
- Book: https://ramaproxy.org/book/
Structs§
- UdpFramed
- A unified
StreamandSinkinterface to an underlyingUdpSocket, using theEncoderandDecodertraits to encode and decode frames. - UdpSocket
- A UDP socket.
Functions§
- bind_
udp - Creates a new
UdpSocket, which will be bound to the specifiedInterface. - 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.