Thanks for the reply. But I know the source will return more than 1,204 value. It was about 20,000 something when I checked it. But will lowering the value got by one loop effect performance/speed? Like this.
Any more ideas?Code:while(cbRecvd=recv(sClient,got,1024,0)) {if(cbRecvd<0) { break; } got[cbRecvd] = '\0'; collect+=got; }




Reply With Quote