Can anyone help me?
I am working on visual c++6.0.(windows socket programming).I have 2 transfer the files from one system to another.I am using threads for this(CreateThread()).
The problem is i am not able to transfer all files,only some files are transferred.also different files are transferred each time i run.(file 1, 2,6 first time i run and files 2 4 7 transferred next time i run)
If i am using debugging mode i.e using f10 all files are transferred.

What is the problem?