Lines Matching defs:bytesRead
176 PRInt32 bytesRead;
203 bytesRead = PR_AcceptRead(listenSock,
210 if (bytesRead < 0) {
211 if (debug_mode) printf("\tServer error in accept (%d)\n", bytesRead);
215 if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead);
243 bytesToRead -= bytesRead;
245 bytesRead = PR_Recv(newSock,
250 if (bytesRead < 0) {
251 if (debug_mode) printf("\tServer error receiving data (%d)\n", bytesRead);
254 if (debug_mode) DPRINTF("\tServer received %d bytes\n", bytesRead);