| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p2_tcp_bind.rs | 12 sock.blocking_bind(net, bind_addr).unwrap(); in test_tcp_bind_ephemeral_port() 25 attempt_random_port(ip, |bind_addr| sock.blocking_bind(net, bind_addr)).unwrap(); in test_tcp_bind_specific_port() 38 sock1.blocking_bind(net, bind_addr).unwrap(); in test_tcp_bind_addrinuse() 45 sock2.blocking_bind(net, bound_addr), in test_tcp_bind_addrinuse() 82 listener2.blocking_bind(net, bind_addr).unwrap(); in test_tcp_bind_reuseaddr() 96 sock.blocking_bind(net, bind_addr), in test_tcp_bind_addrnotavail() 109 let result = sock.blocking_bind(net, IpSocketAddress::new(wrong_ip, 0)); in test_tcp_bind_wrong_family() 124 sock_v4.blocking_bind(net, ipv4_broadcast), in test_tcp_bind_non_unicast() 128 sock_v4.blocking_bind(net, ipv4_multicast), in test_tcp_bind_non_unicast() 132 sock_v6.blocking_bind(net, ipv6_multicast), in test_tcp_bind_non_unicast() [all …]
|
| H A D | p2_udp_bind.rs | 13 sock.blocking_bind(net, bind_addr).unwrap(); in test_udp_bind_ephemeral_port() 26 attempt_random_port(ip, |bind_addr| sock.blocking_bind(net, bind_addr)).unwrap(); in test_udp_bind_specific_port() 39 sock1.blocking_bind(net, bind_addr).unwrap(); in test_udp_bind_addrinuse() 45 sock2.blocking_bind(net, bound_addr), in test_udp_bind_addrinuse() 57 sock.blocking_bind(net, bind_addr), in test_udp_bind_addrnotavail() 70 let result = sock.blocking_bind(net, IpSocketAddress::new(wrong_ip, 0)); in test_udp_bind_wrong_family() 81 sock.blocking_bind(net, addr), in test_udp_bind_dual_stack()
|
| H A D | p2_udp_sample_application.rs | 18 server.blocking_bind(&net, bind_address).unwrap(); in test_udp_sample_application() 24 client.blocking_bind(&net, unspecified_addr).unwrap(); in test_udp_sample_application() 57 client.blocking_bind(&net, unspecified_addr).unwrap(); in test_udp_sample_application()
|
| H A D | p2_tcp_connect.rs | 75 .blocking_bind(&net, IpSocketAddress::new(IpAddress::IPV4_LOOPBACK, 0)) in test_tcp_connect_dual_stack() 106 listener.blocking_bind(&net, bind_address).unwrap(); in test_tcp_connect_explicit_bind() 116 .blocking_bind(net, IpSocketAddress::new(ip, 0)) in test_tcp_connect_explicit_bind()
|
| H A D | p2_udp_connect.rs | 14 client.blocking_bind(&net, unspecified_addr).unwrap(); in test_udp_connect_disconnect_reconnect() 95 .blocking_bind(&net, IpSocketAddress::new(IpAddress::IPV4_LOOPBACK, 0)) in test_udp_connect_dual_stack() 127 client.blocking_bind(&net, unspecified_port).unwrap(); in test_udp_connect_and_send()
|
| H A D | p2_udp_states.rs | 33 sock.blocking_bind(net, bind_address).unwrap(); in test_udp_bound_state_invariants() 61 sock.blocking_bind(net, bind_address).unwrap(); in test_udp_connected_state_invariants()
|
| H A D | p2_udp_send_too_much.rs | 13 client.blocking_bind(&net, unspecified_port).unwrap(); in main()
|
| H A D | p2_tcp_states.rs | 59 sock.blocking_bind(net, bind_address).unwrap(); in test_tcp_bound_state_invariants() 110 sock.blocking_bind(net, bind_address).unwrap(); in test_tcp_listening_state_invariants() 168 sock_listener.blocking_bind(net, bind_address).unwrap(); in test_tcp_connected_state_invariants()
|
| H A D | p2_tcp_sample_application.rs | 14 listener.blocking_bind(&net, bind_address).unwrap(); in test_tcp_sample_application()
|
| H A D | p2_tcp_sockopts.rs | 128 listener.blocking_bind(&net, bind_addr).unwrap(); in test_tcp_sockopt_inheritance() 178 listener.blocking_bind(&net, bind_addr).unwrap(); in test_tcp_sockopt_after_listen()
|
| H A D | p2_tcp_streams.rs | 139 listener.blocking_bind(&net, bind_address).unwrap(); in setup()
|
| /wasmtime-44.0.1/crates/test-programs/src/ |
| H A D | sockets.rs | 123 pub fn blocking_bind( in blocking_bind() method 191 pub fn blocking_bind( in blocking_bind() method 213 self.blocking_bind(network, IpSocketAddress::new(ip, port)) in blocking_bind_unspecified()
|