Question is: How can I send two strings using SendData in different packets?
Because when I try to send two strings one after another, winsock joins them in a single packet thus making one string received from client/server. For example:
Winsock1.SendData "String1" Winsock1.SendData "String2"
The final received data will be: "String1String2"
I guess winsock joins data that are sent in short period of time, is there any way to avoid this?
If the packets are analyzed by any sniffer software, there will be one packet containing both strings. Is there any way I can send these two strings separately, in different packets of TCP?
Direct solution encouraged, less workarounds.
Thank you in advance.