←back to thread

664 points alexflint | 1 comments | | HN request time: 0.416s | source
Show context
josephcsible ◴[] No.42922456[source]
Is this implementing TCP in userspace?
replies(2): >>42922818 #>>42923195 #
1. alexflint ◴[] No.42923195[source]
Yep. This is the first time I've mentioned this but there are actually two implementations of this in the codebase -- one uses gVisor and one is an incredibly bare-bones TCP implementation that I wrote myself in 550 lines of Go code (tcp.go). The home-grown one isn't used by default and it doesn't support much of TCP proper, but it actually works pretty well. You can use it with `--stack=homegrown`.