You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is perhaps dependent on resolving #1 and #4, but a large gap in the wasi's capabilities is that there is currently no way to create sockets (i.e. no analogue to accept or connect). There are currently ways to read and write to sockets (sock_send and sock_recv), but without a good way to get a socket fd, these are not terribly useful.
Given that a major early use case for wasi is in the FaaS and "edge computing" space where networking is pretty important, it makes sense for filling out the socket API to be high on the priority list.
Activity
npmccallum commentedon Apr 22, 2019
This is a requirement for us.
maspe36 commentedon Jun 29, 2020
Is there a working spec somewhere for this feature?
Procedurally generate the entire crate (WebAssembly#22)
sunfishcode commentedon Dec 3, 2024
The wasi-sockets API, which is now part of WASI, includes a way to create sockets.
Add a polling interface for streams. (WebAssembly#20)
command world: provide imports of terminal-std{in, out, err} (WebAsse…
Use depit tool to automatically manage dependency vendoring
Merge pull request WebAssembly#20 from sunfishcode/sunfishcode/angle-…