Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 22 of 22) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
Dsocket.rs32 let socket = new_socket(libc::SOCK_STREAM)?; in bind() localVariable
46 let socket = new_socket(libc::SOCK_STREAM)?; in connect() localVariable
55 let socket = new_socket(libc::SOCK_DGRAM)?; in unbound() localVariable
64 let socket = unbound()?; in data_gram_bind() localVariable
Dmod.rs14 mod socket; module
Dlistener.rs70 let socket = syscall!(accept4( in accept() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
Dsocket.rs29 socket: SOCKET, field
45 let socket = socket_syscall!( in create_socket() localVariable
62 let socket = unsafe { net::UdpSocket::from_raw_socket(self.socket as raw::SOCKET) }; in bind() localVariable
Dmod.rs14 mod socket; module
Dudp_socket.rs63 let socket = ConnectedUdpSocket::from_std(self); in connect() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Duds_test.rs118 let socket = UnixDatagram::bind(PATH).unwrap(); in uds_datagram_test() localVariable
129 let socket = UnixDatagram::unbound().unwrap(); in uds_datagram_test() localVariable
Dtcp_test.rs67 let mut socket = match listener.accept().await { in sdv_tcp_global_runtime() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/
Dmod.rs16 mod socket; module
Dsocket.rs24 socket: c_int, field
Dudp_socket.rs92 let socket = UdpSock::new_socket(addr)?; in bind() localVariable
265 let socket = ConnectedUdpSocket::from_std(self.inner); in connect() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
Dmod.rs19 mod socket; module
Dsocket.rs30 socket: c_int, field
Dlistener.rs38 let socket = TcpSocket::new_socket(addr)?; in bind() localVariable
Dstream.rs34 let socket = TcpSocket::new_socket(addr)?; in connect() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dmod.rs17 mod socket; module
Dsocket.rs30 socket: SOCKET, field
46 let socket = socket_syscall!( in create_socket() localVariable
Dlistener.rs44 let socket = TcpSocket::new_socket(addr)?; in bind() localVariable
Dstream.rs45 let socket = TcpSocket::new_socket(addr)?; in connect() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/unix/
Ddatagram.rs459 let socket = UnixDatagram::bind(PATH).unwrap(); in server() localVariable
472 let socket = UnixDatagram::unbound().unwrap(); in client() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_runtime_async_benchmark.rs39 let socket = TcpListener::bind(addr).await.unwrap(); in run_server() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
Dudp.rs175 let socket = ylong_io::UdpSocket::bind(local_addr)?; in connect() localVariable
1686 let socket = UdpSocket::bind(local_addr).await.unwrap(); in ut_set_get_broadcast() localVariable