Function hydroflow::util::bind_udp_bytes
source ยท pub async fn bind_udp_bytes(
addr: SocketAddr,
) -> (UdpSink, UdpStream, SocketAddr)
Expand description
Returns a length-delimited bytes Sink
, Stream
, and SocketAddr
bound to the given address.
The input addr
may have a port of 0
, the returned SocketAddr
will have the chosen port.