What happens if you write a TCP stack in Python? (2014)
Summary
Julia Evans recounts writing a miniature TCP stack in Python to understand networking, using Scapy to craft packets and performing a TCP handshake with Google. The post covers stepping through the handshake, bypassing the kernel with ARP spoofing, debugging sequence numbers, and the realization that Python is too slow for production TCP, with a nod to the teeceepee open-source project.