TCP over UDP

Paul Logston
Nov 9, 2023

--

I have really enjoyed learning about network flows over the last year and finally got the time to write an implementation of TCP.

My implementation focuses on the state machine at the core of TCP and, as such, offloads the heavy lifting of any Data Link layer communication to UDP. Plus, there are a few items like packet re-ordering and windowing that were left for my next iteration. Developing this package was a lot of fun and I plan to use it for teaching students about internet communications.

Fun Fact: Did you know that a new RFC for TCP was just published in 2022? It incorporates the changes made by several RFCs past into one, new and unified RFC for the protocol.

--

--