wasmnet in your browser

A whole IP network made of WebAssembly components: hosts, a switch, real Ethernet frames, virtual time. This page runs one HTTP GET across it, in this tab.

client (http-get) ──100 µs── switch ──150 µs── server (http-server)
  10.0.0.2                                     10.0.0.1
Each host is a wasi:sockets@0.3 app composed with a TCP/IP stack; the switch learns MAC addresses. The same network as examples/http.rs.
Downloading and compiling the components (a few MB)…

Loading…

Journal what every device reported, stamped with virtual time

    Outcome

    One pcap-ng file per link: open it in Wireshark to see ARP, the TCP handshake and GET /.