Closed bnmcxlzd closed 1 month ago
How can I write a C program that uses a sock and compile it into Wasm binaries? Are there any examples?
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.
How can I write a C program that uses a sock and compile it into Wasm binaries? Are there any examples?