-
Couldn't load subscription status.
- Fork 1.5k
Closed
Description
With the addition of sock_accept() in wasi-0.11.0, wasmtime can now implement basic networking for pre-opened sockets.
Todo
- Implement
sock_acceptand basic networking #3711 - Add CLI options for preopened listen sockets #3729
- Rust: wasi: implement
sock_acceptand enable networking rust-lang/rust#93158 - Wasi definition of
Preopentypefor sockets (listener and stream, tcp and unix) to makefd_prestat_get()work for sockets - Non-busy polling on Windows
- Fix
get_fdflags()for sockets on Windows - More networking test cases
- Discussion of
SocketAddrreturn value for::accept()in the rustsrc PR
Ok((
TcpStream::from_inner(unsafe { Socket::from_raw_fd(fd as _) }),
// WASI has no concept of SocketAddr yet
// return an unspecified IPv4Addr
SocketAddr::new(Ipv4Addr::UNSPECIFIED.into(), 0),
))b-zee and numso
Metadata
Metadata
Assignees
Labels
No labels