Home
last modified time | relevance | path

Searched refs:raw_socket (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/mio/src/sys/windows/
Dselector.rs96 raw_socket: RawSocket, field
261 fn new(raw_socket: RawSocket, afd: Arc<Afd>) -> io::Result<SockState> {
266 raw_socket,
267 base_socket: get_base_socket(raw_socket)?,
631 raw_socket: RawSocket,
634 Ok(Arc::pin(Mutex::new(SockState::new(raw_socket, afd)?)))
638 fn try_get_base_socket(raw_socket: RawSocket, ioctl: u32) -> Result<RawSocket, i32> {
643 raw_socket as usize,
661 fn get_base_socket(raw_socket: RawSocket) -> io::Result<RawSocket> {
662 let res = try_get_base_socket(raw_socket, mswsock::SIO_BASE_HANDLE);
[all …]
/external/webrtc/rtc_base/
Dtest_echo_server.h42 AsyncSocket* raw_socket = socket->Accept(nullptr); in OnAccept() local
43 if (raw_socket) { in OnAccept()
44 AsyncTCPSocket* packet_socket = new AsyncTCPSocket(raw_socket, false); in OnAccept()
/external/rust/crates/tokio/src/net/tcp/
Dlistener.rs261 .map(|raw_socket| unsafe { std::net::TcpListener::from_raw_socket(raw_socket) }) in into_std()
Dstream.rs245 .map(|raw_socket| unsafe { std::net::TcpStream::from_raw_socket(raw_socket) }) in into_std()
/external/rust/crates/tokio/src/net/
Dudp.rs252 .map(|raw_socket| unsafe { std::net::UdpSocket::from_raw_socket(raw_socket) }) in into_std()