Home
last modified time | relevance | path

Searched refs:create_socket (Results 1 – 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/udp/
Dsocket.rs30 UdpSock::create_socket(AF_INET, SOCK_DGRAM) in new_socket()
32 UdpSock::create_socket(AF_INET6, SOCK_DGRAM) in new_socket()
36 pub(crate) fn create_socket(domain: c_int, socket_type: c_int) -> io::Result<UdpSock> { in create_socket() method
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
Dsocket.rs36 Self::create_socket(AF_INET, SOCK_DGRAM) in new_socket()
38 Self::create_socket(AF_INET6, SOCK_DGRAM) in new_socket()
42 fn create_socket(domain: ADDRESS_FAMILY, socket_type: u16) -> io::Result<UdpSock> { in create_socket() method
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dsocket.rs34 Self::create_socket(AF_INET, SOCK_STREAM) in new_socket()
36 Self::create_socket(AF_INET6, SOCK_STREAM) in new_socket()
40 fn create_socket(domain: ADDRESS_FAMILY, socket_type: u16) -> io::Result<TcpSocket> { in create_socket() method
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/tcp/
Dsocket.rs34 TcpSocket::create_socket(AF_INET, SOCK_STREAM) in new_socket()
36 TcpSocket::create_socket(AF_INET6, SOCK_STREAM) in new_socket()
40 pub(crate) fn create_socket(domain: c_int, socket_type: c_int) -> io::Result<TcpSocket> { in create_socket() method