pub async fn bind_udp_lines(
addr: SocketAddr,
) -> (UdpLinesSink, UdpLinesStream, SocketAddr)Available on non-WebAssembly only.
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.