Home
last modified time | relevance | path

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

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
Dsocket.rs30 let socket = socket_new(AF_UNIX, libc::SOCK_STREAM)?; in bind() localVariable
44 let socket = socket_new(AF_UNIX, libc::SOCK_STREAM)?; in connect() localVariable
53 let socket = socket_new(AF_UNIX, libc::SOCK_DGRAM)?; in unbound() localVariable
62 let socket = unbound()?; in data_gram_bind() localVariable
Dlistener.rs67 let socket = { in accept() localVariable
78 let socket = { in accept() localVariable
86 let socket = unsafe { net::UnixStream::from_raw_fd(socket) }; in accept() localVariable
Dmod.rs14 mod socket; module
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
Dsocket.rs28 socket: SOCKET, field
44 let socket = socket_syscall!( in create_socket() localVariable
61 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_io/src/sys/unix/udp/
Dsocket.rs25 socket: c_int, field
38 let socket = socket_new(domain, socket_type)?; in create_socket() localVariable
Dmod.rs16 mod socket; module
Dudp_socket.rs89 let socket = UdpSock::new_socket(addr)?; in bind() localVariable
262 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.rs31 socket: c_int, field
44 let socket = socket_new(domain, socket_type)?; in create_socket() localVariable
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_io/src/sys/unix/
Dmod.rs52 pub(crate) mod socket; module
Dsocket.rs21 let socket = syscall!(socket(domain, socket_type, 0))?; in socket_new() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Duds_cargo_test.rs167 let socket = UnixDatagram::bind(PATH).unwrap(); in sdv_uds_datagram_test() localVariable
178 let socket = UnixDatagram::unbound().unwrap(); in sdv_uds_datagram_test() 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_io/src/sys/windows/
Dwinapi.rs180 pub fn socket(af: c_int, _type: c_int, protocol: c_int) -> SOCKET; in socket() function
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
Dudp.rs173 let socket = ylong_io::UdpSocket::bind(local_addr)?; in connect() localVariable