I have a program running (written in C#) on Win7Pro, that sends a up to a couple hundred of messages that are 56 bytes long each over the network (through a switch, via TCP) to a different node as fast as it can. When I trace the messages in wireshark (from the sending PC), it always sends the first 52 messages in individual packets of 56 bytes. But after that, it groups messages oddly, and I'm trying to figure out why. I'm having issues getting the correct responses and it may have to do with the way the node is recieving the messages.
For instance, the last run I tried, I attempted to send 200 messages of 56 bytes of data each. Using wireshark, I can see that the first 52 messages were sent in individual packets. The next 5 packets had data of message lengths: 1460, 1012, 1460, 1228, 2792 (which individually are not divisible by 56, but collectively, they are). The last 6 packets all had data lengths of 56 bytes. If I run this several times, it's repeatable to the extent that the first 52 messages are all sent in their own individual packets and it's unpredictable after that.
It is from the data in the long packets where I am not getting the correct responses from the end node.
Can someone explain to me this behavoir, and perhaps point me in the direction how to send all the messages individually in their own packets? I did not write the C# program myself, but I do have access to the code and the guy who wrote it.
Thanks!
For instance, the last run I tried, I attempted to send 200 messages of 56 bytes of data each. Using wireshark, I can see that the first 52 messages were sent in individual packets. The next 5 packets had data of message lengths: 1460, 1012, 1460, 1228, 2792 (which individually are not divisible by 56, but collectively, they are). The last 6 packets all had data lengths of 56 bytes. If I run this several times, it's repeatable to the extent that the first 52 messages are all sent in their own individual packets and it's unpredictable after that.
It is from the data in the long packets where I am not getting the correct responses from the end node.
Can someone explain to me this behavoir, and perhaps point me in the direction how to send all the messages individually in their own packets? I did not write the C# program myself, but I do have access to the code and the guy who wrote it.
Thanks!