Winsock SendData Problem
Posted on 2003-11-27
Dear anyone who could help me,
I am trying to use the method "SendData" of Winsock Control to submit the data to the server. However, I found the problem that although I submitted the different line of code for the statement "SendData" but these messages was concatenated into a single string and the server has got the incorrect message.
For easily to understand, I would give you a brief code as following
Private Sub Command1_Click
I expected that the server should get 2 messages, "Merging" and "Merged". But in fact, I found that the server has got only a message "MergingMerged" and the server program works in the wrong way.
Does anyone ever met this problem before and how to solve it ?