Before asking where I declared mysocket, buffer, etc. It's all there, this is just the only part giving me trouble. It successfully sends 2 kbs(recv()'d and written to file on the other end), but that's it. The file is around 3mbs. If anyone could give me an idea as to why it only reads 2 kbs, that would be great. Thanks.Code:while(fileones.get(buffer, 1024)) { send(mysocket, buffer, 1024, 0); ZeroMemory(buffer, 1024); // reset buffer }