Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tedchs
· 12y ago · 0 comments
64k is the max value of a 2-byte unsigned int, as 2^16 - 1 = 65535; is that the size of the length prefix?
Comments
[–]
stackcollision
12y ago
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.