Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

64k is the max value of a 2-byte unsigned int, as 2^16 - 1 = 65535; is that the size of the length prefix?


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.




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

Search: