WASI: Implement sock_accept() for snapshot1
Hi, was wondering if https://deno.land/[email protected]/wasi could implement the sock_accept function on the current preview1 snapshot. I note that this function was included in the WASI snapshot a little while ago (see https://github.com/WebAssembly/WASI/pull/458), but would be quite good to see implemented in Deno (effectively allowing Deno to host network processes implemented in WASM).
Would this be possible?
CC @cjihrig
I think it makes sense to support this.
There was a bunch of discussion about this today in Discord starting from roughly here. This may be blocked on not wanting an op in core for performing accept().
Closing this, as std/wasi is now deprecated. If you still need to use WASI in Deno, use wasmer-js instead.