Hacker News new | ask | show | jobs
by tedchs 4446 days ago
64k is the max value of a 2-byte unsigned int, as 2^16 - 1 = 65535; is that the size of the length prefix?
1 comments

I looked at the code and I'm pretty sure I saw that the payload size variable was a long int, so I was confused by this too.