Home
last modified time | relevance | path

Searched refs:tcp_listener (Results 1 – 2 of 2) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/tcp/
Dsocket.rs76 let tcp_listener = Ok(TcpListener { in listen() localVariable
82 tcp_listener in listen()
/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
Dmod.rs125 … let tcp_listener = std::net::TcpListener::bind("127.0.0.1:0").expect("server bind port failed !"); localVariable
126 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…