Writing your own TCP/IP stack may seem like a daunting task. Indeed, TCP has accumulated many specifications over its lifetime of more than thirty years. The core specification, however, is seemingly compact1 - the important parts being TCP header parsing, the state machine, congestion control and retransmission timeout computation. The most common layer 2 and layer 3 protocols, Ethernet and IP re
![Let's code a TCP/IP stack, 1: Ethernet & ARP](https://cdn-ak-scissors.b.st-hatena.com/image/square/d553404dd9d83b288c7486e6e85d4cacae85729b/height=288;version=1;width=512/http%3A%2F%2Fwww.saminiir.com%2Fimg%2Flogo2.png)