Nope, this is simply how sockets work. Your protocol needs to specify how big the message is, or use some character to act as a message separator (for example `\r\l`.)
- Receiving strings of uncertain length over recv() | net.Socket ElCapitan
- Re: Receiving strings of uncertain length over recv() | net... dom96