Skip to content

[Feature Request] Add WebSocket Proxy Runtime Support for TCP/UDP Connections in Browser #162

@kelvinzer0

Description

@kelvinzer0

First of all, thank you for your incredible work on elfconv! This project is truly groundbreaking - the ability to convert Linux ELF binaries directly to WebAssembly without source code is amazing. The AOT compilation approach and Linux syscall emulation layer are brilliantly designed.

I'm reaching out to propose an enhancement that would significantly expand elfconv's capabilities for browser-based applications.

Currently, when running elfconv-generated WASM in browsers, network operations (TCP/UDP sockets) face limitations.

Many use cases could benefit from seamless network connectivity:

  • Running network client applications (SSH, curl, database clients)
  • Port multiplayer games to browser
  • Browser-based development tools that need network access
  • IoT device management interfaces
  • Real-time communication applications

Add a built-in WebSocket proxy runtime layer to elfconv that transparently bridges socket calls (TCP/UDP) to WebSocket connections, which can then be proxied to real TCP/UDP endpoints via a server-side bridge.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions