Hacker News new | past | comments | ask | show | jobs | submit login

> The problem is that if N is above certain limit (e.g. 4), the server will resulting in some error saying that the data is truncated somehow.

Maybe your server expects full application-level messages from single "recv" call? This is is not correct. A message may be spited across multiple recv buffers.




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

Search: