Skip to main content

bind

Function bind 

Source
fn bind(preferred_port: u16) -> Result<Async<TcpListener>, String>
Expand description

Bind to loopback at preferred_port or, if taken, the ports after it.