Home
last modified time | relevance | path

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

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/udp/
Dsocket.rs23 pub(crate) struct UdpSock { struct
27 impl UdpSock { implementation
28 pub(crate) fn new_socket(addr: SocketAddr) -> io::Result<UdpSock> { in new_socket()
36 pub(crate) fn create_socket(domain: c_int, socket_type: c_int) -> io::Result<UdpSock> { in create_socket()
65 impl AsRawFd for UdpSock { implementation
71 impl FromRawFd for UdpSock { implementation
72 unsafe fn from_raw_fd(fd: RawFd) -> UdpSock { in from_raw_fd()
77 impl Drop for UdpSock { implementation
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
Dsocket.rs28 pub(crate) struct UdpSock { struct
32 impl UdpSock { argument
34 pub(crate) fn new_socket(addr: SocketAddr) -> io::Result<UdpSock> { in new_socket()
42 fn create_socket(domain: ADDRESS_FAMILY, socket_type: u16) -> io::Result<UdpSock> { in create_socket()
81 impl Drop for UdpSock { implementation