Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement WASI Preview 2 Sockets #179

Open
lppedd opened this issue Jul 23, 2024 · 1 comment
Open

Implement WASI Preview 2 Sockets #179

lppedd opened this issue Jul 23, 2024 · 1 comment
Labels
feature-request Request for new features or functionality
Milestone

Comments

@lppedd
Copy link

lppedd commented Jul 23, 2024

I know you're already working (or will work) on supporting Preview 2.
It would be important to support the sockets component, both when targeting a runtime like Node.js, or the browser.

Use case: rewriting an extension which uses the Node.js net.Socket or tls.TLSSocket in WebAssembly.

Supported runtimes:

  • Node.js: binding to TCP socket via Node.js APIs
  • Browser: wrapping a WebSocket instance
@dbaeumer dbaeumer added the feature-request Request for new features or functionality label Jul 30, 2024
@dbaeumer dbaeumer added this to the On Deck milestone Jul 30, 2024
@lppedd
Copy link
Author

lppedd commented Feb 23, 2025

If async support is somehow necessary, it looks like WASI 0.3 will ship in March!
https://wasi.dev/roadmap#upcoming-wasi-03-releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants