MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / blocking_bind_unspecified

Method blocking_bind_unspecified

crates/test-programs/src/sockets.rs:209–214  ·  view source on GitHub ↗
(&self, network: &Network)

Source from the content-addressed store, hash-verified

207 }
208
209 pub fn blocking_bind_unspecified(&self, network: &Network) -> Result<(), ErrorCode> {
210 let ip = IpAddress::new_unspecified(self.address_family());
211 let port = 0;
212
213 self.blocking_bind(network, IpSocketAddress::new(ip, port))
214 }
215}
216
217impl OutgoingDatagramStream {

Callers 4

test_udp_connect_unspecFunction · 0.80
test_udp_connect_port_0Function · 0.80

Calls 3

blocking_bindMethod · 0.80
newFunction · 0.50
address_familyMethod · 0.45

Tested by 4

test_udp_connect_unspecFunction · 0.64
test_udp_connect_port_0Function · 0.64