Lines Matching defs:bytesRead
145 PRInt32 bytesRead;
172 bytesRead = PR_AcceptRead(listenSock,
179 if (bytesRead < 0) {
180 if (debug_mode) printf("\tServer error in accept (%d)\n", bytesRead);
184 if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead);
212 bytesToRead -= bytesRead;
214 bytesRead = PR_Recv(newSock,
219 if (bytesRead < 0) {
220 if (debug_mode) printf("\tServer error receiving data (%d)\n", bytesRead);
223 if (debug_mode) DPRINTF("\tServer received %d bytes\n", bytesRead);