You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know the state of networking in wasmtime 1.0.0, because I can compile tcplistener with the target wasm32-wasi but then wasmtime throws error "funcionality not supported".
I would like to know if I have to preopend sockets or to use some specific crate in the case of having basic networking available.
#3729 added the arguments of which you need to use one to open the socket and rust-lang/rust#93158 implemented rust support and provides a code snippet you can use.
Indeed I believe this is implemented to the extent that WASI supports sockets today, if you'd like more functionality I'd recommend opening an issue on the WASI proposal to extend the sockets proposal.
Activity
[-]Unable to run tcp socker in wasmtime[/-][+]Unable to run tcp socket in wasmtime[/+]bjorn3 commentedon Sep 29, 2022
#3729 added the arguments of which you need to use one to open the socket and rust-lang/rust#93158 implemented rust support and provides a code snippet you can use.
alexcrichton commentedon Sep 30, 2022
Indeed I believe this is implemented to the extent that WASI supports sockets today, if you'd like more functionality I'd recommend opening an issue on the WASI proposal to extend the sockets proposal.