Home
last modified time | relevance | path

Searched defs:TcpListener (Results 1 – 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dlistener.rs25 pub struct TcpListener { struct
26 pub(crate) inner: net::TcpListener, argument
31 impl TcpListener { argument
43 pub fn bind(addr: SocketAddr) -> io::Result<TcpListener> { in bind()
53 pub fn from_std(listener: net::TcpListener) -> TcpListener { in from_std()
144 impl Source for TcpListener { implementation
173 impl fmt::Debug for TcpListener { implementation
179 impl IntoRawSocket for TcpListener { implementation
185 impl AsRawSocket for TcpListener { implementation
191 impl FromRawSocket for TcpListener { implementation
[all …]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dlistener.rs38 pub struct TcpListener { struct
39 source: AsyncSource<ylong_io::TcpListener>, argument
42 impl TcpListener { impl
71 pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> { in bind()
204 impl AsRawSocket for TcpListener { implementation
217 impl AsRawFd for TcpListener { implementation
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/tcp/
Dlistener.rs28 pub struct TcpListener { struct
29 pub(crate) inner: net::TcpListener, argument
32 impl TcpListener { implementation
37 pub fn bind(addr: SocketAddr) -> io::Result<TcpListener> { in bind()
157 impl Source for TcpListener { implementation
185 impl std::fmt::Debug for TcpListener { implementation
Dsocket.rs73 pub(crate) fn listen(self, max_connect: c_int) -> io::Result<TcpListener> { in listen()