Definition at line 84 of file NetInterface.cpp. 00085 { 00086 char* tmp = new char[BUFFER_SIZE+1]; 00087 00088 int bytesCount = 0; 00089 int readBytes = recv(outDescr, tmp, BUFFER_SIZE, 0); 00090 00091 tmp[readBytes] = '\0'; 00092 00093 readbuffer.append(tmp); 00094 00095 delete[] tmp; 00096 00097 bytesCount = readBytes; 00098 00099 return bytesCount; 00100 }
|
1.5.1