I Currently have a server with winsock Controls and Clients it used to work fine but i have hit a problem suddenly it doesnt work and while debugging i realised why:

the Control recieves its first message Say "DOP" it processes it and returns a signal

The Control Recieves A Return String of "GIP" but when i getdata from the winsock i get the string "DOP" again and never recieve the "GIP" command.

It probably has to do with buffers say its getting two signals but getting the same string twice how did this suddenly happen and how do i stop it

Please Help Somebody I Really Need To Know this ASAP!!!!