Function dfir_rs::util::bind_tcp_lines
source ยท pub async fn bind_tcp_lines(
addr: SocketAddr,
) -> (Sender<(String, SocketAddr)>, Receiver<Result<(String, SocketAddr), LinesCodecError>>, SocketAddr)
Expand description
This is the same thing as bind_tcp_bytes
except instead of using a length-delimited encoding scheme it uses new lines to separate frames.