Hacker News

What happens if you write a TCP stack in Python? (2014)

19 points by zenincognito ago | 2 comments

yjftsjthsd-h |next [-]

Neat. I was recently looking at doing something similar because I wanted to do awful things with ICMP, and hit upon using a TUN device to just have the kernel make up a network device that gets handed to userspace. Then you can just ping from your laptop to your python code without any fighting. (I mostly mention this because it's related, but the same should work with TCP)

selcuka |previous [-]

The article itself links to the previous HN discussion:

https://news.ycombinator.com/item?id=8167546