Home
last modified time | relevance | path

Searched defs:TcpSocket (Results 1 – 2 of 2) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/tcp/
Dsocket.rs27 pub(crate) struct TcpSocket { struct
31 impl TcpSocket { argument
32 pub(crate) fn new_socket(addr: SocketAddr) -> io::Result<TcpSocket> { in new_socket()
40 pub(crate) fn create_socket(domain: c_int, socket_type: c_int) -> io::Result<TcpSocket> { in create_socket()
104 impl AsRawFd for TcpSocket { implementation
110 impl FromRawFd for TcpSocket { implementation
111 unsafe fn from_raw_fd(fd: RawFd) -> TcpSocket { in from_raw_fd()
116 impl Drop for TcpSocket { implementation
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dsocket.rs26 pub(crate) struct TcpSocket { struct
30 impl TcpSocket { impl
32 pub(crate) fn new_socket(addr: SocketAddr) -> io::Result<TcpSocket> { in new_socket()
40 fn create_socket(domain: ADDRESS_FAMILY, socket_type: u16) -> io::Result<TcpSocket> { in create_socket()
115 impl AsRawSocket for TcpSocket { implementation
121 impl FromRawSocket for TcpSocket { implementation
129 impl Drop for TcpSocket { implementation