expploitt edited issue #4978:
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.
Thanks!
bjorn3 commented on issue #4978:
https://github.com/bytecodealliance/wasmtime/pull/3729 added the arguments of which you need to use one to open the socket and https://github.com/rust-lang/rust/pull/93158 implemented rust support and provides a code snippet you can use.
alexcrichton commented on issue #4978:
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.
alexcrichton closed issue #4978:
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.
Thanks!
Last updated: Nov 22 2024 at 16:03 UTC