Searched refs:tcp_listener (Results 1 – 2 of 2) sorted by relevance
76 let tcp_listener = Ok(TcpListener { in listen() localVariable82 tcp_listener in listen()
125 … let tcp_listener = std::net::TcpListener::bind("127.0.0.1:0").expect("server bind port failed !"); localVariable126 let addr = tcp_listener.local_addr().expect("get server local address failed!");128 …let server = hyper::Server::from_tcp(tcp_listener).expect("build hyper server from tcp listener fa…