Skip to main content

create_tcp_listener

Function create_tcp_listener 

Source
pub fn create_tcp_listener(
    addr: SocketAddr,
    backlog: i32,
) -> Result<TcpListener, Error>
Expand description

Creates and binds a TCP listener with the specified listen backlog.