Crate udp
Available on crate feature
udp only.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
net - 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 Android or Fuchsia or Linux - Creates a new
UdpSocket, which will be bound to the specified (interface) device name). - bind_
udp_ with_ socket Windows or target_family=unix - Creates a new
UdpSocket, which will be bound to the specified socket.