Searched defs:TcpSocket (Results 1 – 2 of 2) sorted by relevance
27 pub(crate) struct TcpSocket { struct31 impl TcpSocket { argument32 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 { implementation110 impl FromRawFd for TcpSocket { implementation111 unsafe fn from_raw_fd(fd: RawFd) -> TcpSocket { in from_raw_fd()116 impl Drop for TcpSocket { implementation
26 pub(crate) struct TcpSocket { struct30 impl TcpSocket { impl32 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 { implementation121 impl FromRawSocket for TcpSocket { implementation129 impl Drop for TcpSocket { implementation