How to use sock in WASI?
bnmcxlzd opened this issue · 1 comments
bnmcxlzd commented
How can I write a C program that uses a sock and compile it into Wasm binaries?
Are there any examples?
ricochet commented
Checkout the sockets test in wasmtime for a rust version of this: crates/test-programs/src/sockets.rs.
For C, you would use the wasi-sdk.