Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasi-js-bindings: Basic implemention of sock_send and sock_recv
WASI's sock_send and sock_recv are very similar to fd_write and fd_read, but with an extra flag parameter. This CL makes sock_send/sock_recv delegate to fd_write/fd_read if no flags are passed in. See github.com/WebAssembly/WASI/issues/4 for additional context. Bug: b/276352391 Change-Id: I52af0213bb928fb284adf6c74521cdaf451f10fc Reviewed-on: https://chromium-review.googlesource.com/c/apps/libapps/+/4389201 Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
- Loading branch information