Story

On air. The free wire runs 15 minutes behind live. See pricing

World, crypto, finance and tech news, scored for impact.

TechHacker NewsFiled 35 h ago

What happens if you write a TCP stack in Python?

Open the sourceReported by Hacker News, jvns.ca, 12 November 2026

Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.

A developer at the Hacker School program built a miniature TCP stack in Python using the scapy packet library to fetch a single webpage from Google, and documented the project in a blog post. The experiment hit a snag when the kernel's own TCP stack, which was still active on the machine, responded to Google's SYN-ACK with an RST packet that the developer never wrote, silently killing the connection. The episode illustrates how the operating system already handles TCP, so a user-space implementation must either suppress or work around the kernel's automatic responses. The author's goal was educational rather than production-grade, with error handling and TCP rate-limiting logic deliberately left out. What to watch next: whether the developer disables or bypasses the kernel stack to complete the handshake and retrieve the page.

Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.

Named in this story

TCP, Python, scapy, Google (GOOGL)

A linked name opens that asset's sentiment page.