Closed Mek101 closed 5 days ago
Could you please add something along the lines of
let ip: IpAddr = IpAddr::V4(Ipv4Addr::UNSPECIFIED); let port: u16 = 8080; conn::TcpListener::with(ip, port)
Please?
Right now the alternative is
conn::TcpListener::new(format!("{}:{}", ip.to_string(), port))
You can write like this:
TcpListener::new((ip, port));
Could you please add something along the lines of
Please?
Right now the alternative is