Lines Matching defs:clientSock
101 static PRFileDesc *clientSock = NULL;
264 clientSock = PR_Accept(listenSock, &clientAddr,
268 TEST_ASSERT(clientSock == 0);
272 TEST_ASSERT(clientSock);
273 bytesRead = PR_Recv(clientSock,
278 TEST_ASSERT(clientSock);
279 bytesRead = PR_Recv(clientSock,
287 status = PR_AcceptRead(listenSock, &clientSock,
295 TEST_ASSERT(clientSock);
306 clientSock = PR_NTFast_Accept(listenSock,
310 TEST_ASSERT(clientSock == 0);
316 TEST_ASSERT(clientSock);
317 bytesRead = PR_Recv(clientSock,
322 TEST_ASSERT(clientSock);
323 bytesRead = PR_Recv(clientSock,
333 &clientSock, &raddr, buf, 4096, timeoutTime);
340 TEST_ASSERT(clientSock);
344 TEST_ASSERT(clientSock == NULL);
352 listenSock, &clientSock, &raddr, buf, 4096,
360 TEST_ASSERT(clientSock);
365 PR_fprintf(output, "clientSock = 0x%8.8lx\n", clientSock);
366 TEST_ASSERT(clientSock == NULL);
374 if (clientSock != NULL) {
375 PR_Close(clientSock);
376 clientSock = NULL;