←back to thread

664 points alexflint | 3 comments | | HN request time: 0.413s | source
1. josephcsible ◴[] No.42922456[source]
Is this implementing TCP in userspace?
replies(2): >>42922818 #>>42923195 #
2. aerzen ◴[] No.42922818[source]
Yes
3. 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`.