I have an application that communicates 2 computers using tcp sockets
(winsocks). The most of the time it works fine, but some packets are
received as 1 when they was sent as 2 or 3. I mean, I execute two or
three send commands and receive all the data in one single packet.
The packets are sent every 200 ms (Naggle algorithm is disabled) and
there is an independent thread receiving on the other side's
application. When a packet is received it is processed immediately,
after that, the receiving is resumed.
I'm not an expert in networking, can anybody tell me why is this
happening, and how can I solve it.
Thanks in advance.