Skip to main content

bind

Function bind 

Source
pub fn bind(host: &str, port: u16) -> Result<Bound, Error>
Expand description

Bind host:port; 0 picks a free port. The error names the address when it fails.