i tried to send 34kb through one send() function and only 8kb go through. Another way around it is to divide the file to several small chunks of 8kb. But i got stuck there. Could anyone give me idea how to do it phongle
P
phongle119
@phongle119
Posts
-
CSocket Data lost -
CSocket Data lostI've been on the project that using CSocket to send file from client to server. When i test the program, only part of data send through CSocket(about one third of the original data). I use CSocket as a SOCK_STREAM. Can anyone figure out the problem on my code? thnx phongle