client (http-get) ──100 µs── switch ──150 µs── server (http-server) 10.0.0.2 10.0.0.1
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)…
This example needs a Chromium-based browser (Chrome or Edge 137 or newer).
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 /.