Skip to main content

accept

Function accept 

Source
pub fn accept(listener: &TcpListener) -> TcpStream ⓘ
Expand description

The connection the host opened to listener (a blocking one, as tcp_listener gives; it is blocking again afterwards).