Home
last modified time | relevance | path

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

/third_party/rust/crates/rustix/tests/net/
Dv6.rs17 let connection_socket = socket( in server() localVariable
25 bind_v6(&connection_socket, &name).unwrap(); in server()
27 let who = match getsockname(&connection_socket).unwrap() { in server()
32 listen(&connection_socket, 1).unwrap(); in server()
42 let data_socket = accept(&connection_socket).unwrap(); in server()
Dv4.rs17 let connection_socket = in server() localVariable
21 bind_v4(&connection_socket, &name).unwrap(); in server()
23 let who = match getsockname(&connection_socket).unwrap() { in server()
28 listen(&connection_socket, 1).unwrap(); in server()
38 let data_socket = accept(&connection_socket).unwrap(); in server()
Dpoll.rs16 let connection_socket = socket( in server() localVariable
24 bind_v6(&connection_socket, &name).unwrap(); in server()
26 let who = match getsockname(&connection_socket).unwrap() { in server()
31 listen(&connection_socket, 1).unwrap(); in server()
41 let data_socket = accept(&connection_socket).unwrap(); in server()
Dunix.rs31 let connection_socket = socket( in server() localVariable
39 bind_unix(&connection_socket, &name).unwrap(); in server()
40 listen(&connection_socket, 1).unwrap(); in server()
51 let data_socket = accept(&connection_socket).unwrap(); in server()