Function hydroflow::util::bind_udp_lines
source ยท pub async fn bind_udp_lines(
addr: SocketAddr,
) -> (UdpLinesSink, UdpLinesStream, SocketAddr)
Expand description
Returns a newline-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.