Lines Matching refs:acceptSock
123 PRFileDesc *acceptSock;
165 acceptSock = PR_Accept(listenSock, NULL, PR_INTERVAL_NO_TIMEOUT);
166 if (NULL == acceptSock) {
170 osfd = PR_FileDesc2NativeHandle(acceptSock);
182 nbytes = PR_Writev(acceptSock, &iov, 1, PR_INTERVAL_NO_TIMEOUT);
187 if (PR_Close(acceptSock) == PR_FAILURE) {
206 acceptSock = PR_Accept(listenSock, NULL, PR_INTERVAL_NO_TIMEOUT);
207 if (NULL == acceptSock) {
211 osfd = PR_FileDesc2NativeHandle(acceptSock);
221 nbytes = PR_Write(acceptSock, buf, 0);
226 if (PR_Close(acceptSock) == PR_FAILURE) {
245 acceptSock = PR_Accept(listenSock, NULL, PR_INTERVAL_NO_TIMEOUT);
246 if (NULL == acceptSock) {
250 osfd = PR_FileDesc2NativeHandle(acceptSock);
260 nbytes = PR_Send(acceptSock, buf, 0, 0, PR_INTERVAL_NO_TIMEOUT);
265 if (PR_Close(acceptSock) == PR_FAILURE) {