Lines Matching refs:newSock
154 PRFileDesc *newSock;
166 newSock = PR_Accept(listenSocket,
170 if (newSock) {
178 PR_FD_SET(newSock, &rdset);
186 if (PR_FD_ISSET(newSock, &rdset)) {
194 bytesRead = PR_Recv(newSock, buf, 10, 0, PR_INTERVAL_NO_TIMEOUT);
199 PR_Close(newSock);
239 PRFileDesc *newSock;
247 newSock = PR_Accept(listenSocket, &rAddr, PR_INTERVAL_NO_TIMEOUT);
249 if (newSock) {
256 osfd = PR_FileDesc2NativeHandle(newSock);
277 bytesRead = PR_Recv(newSock, buf, 10, 0, PR_INTERVAL_NO_TIMEOUT);
282 PR_Close(newSock);