Problem:
Using winsock to send a string to a server machine. The software on the server looks at the string and the length. If the length is not correct then we get error generated "incomplete message detected". Now 99.95 % of the time this process is fine and no error generated. the other .05% of the time or so the length is not equal. I am using tcp/ip and not udp from a visual basic 6.0 program.

Question:
Is winsock cutting off or losing some of the data somewhere?