Skip to content

Implement WASI Preview 2 Sockets #179

@lppedd

Description

@lppedd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions