ForeverCode
Programmer
char Read[1000];
recv(Socket, Read, 1000, NULL);
That puts the clients sent data into Read, but what if the data being sent is greater than the size of the buffer? How would I check to see if I have recieved all the data, and if not read the rest? I can't figure out the best way to do this:/ Any suggestions?
recv(Socket, Read, 1000, NULL);
That puts the clients sent data into Read, but what if the data being sent is greater than the size of the buffer? How would I check to see if I have recieved all the data, and if not read the rest? I can't figure out the best way to do this:/ Any suggestions?