Get the latest tech news

Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS


Xv6 for RISC-V with Networking. Contribute to pandax381/xv6-riscv-net development by creating an account on GitHub.

On the first run, it will also create a TAP network device named tap0 on your host machine and assign it the IP address 192.0.2.1/24. This project includes tcpecho and udpecho as sample user-level applications to demonstrate the network stack. Open a new terminal on your host machine and use nc(netcat) to connect to the tcpecho server running inside QEMU.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Scratch

Scratch

Photo of TCP

TCP

Photo of IP stack

IP stack

Related news:

News photo

I made a floppy disk from scratch

News photo

An argument for increasing TCP's initial congestion window (2024)

News photo

Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi