Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
What happens if you write a TCP stack in Python? (2014) (jvns.ca)
19 points by zenincognito 17 days ago | past | favorite | 2 comments


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)


The article itself links to the previous HN discussion:

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: