dear pple
i'm facing a problem using winsock
in my program i have two winsock control. one to send and receieve data and the other to send and receieve messages. these messages act to start or stop some controls on the other app.
the problem is this. i entered code like this
VB Code:
winsock.SendData "START_SEND_FILE" file_name = CommonDialog1.FileName SendFile file_name, Wins first_time = True winsock.SendData "FINISH_SENDING_FILE"
the problem is at the receiving side, i get both message appended to each other at the same time. since the sendfile function is long, isn't it supposed to finish running the sendfile funtion before sending the second message?
please help
