Searched refs:newsockfd (Results 1 - 3 of 3) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dnbconn.c249 PRFileDesc *sockfd, *newsockfd; local
254 if ((newsockfd = PR_Accept(sockfd, NULL,
262 rv = PR_Read(newsockfd, data_buf + bytes_read ,
267 PR_Close(newsockfd);
274 rv = PR_Write(newsockfd, data_buf,DATA_BUF_SIZE);
278 PR_Close(newsockfd);
283 PR_Close(newsockfd);
H A Dthrpool_server.c465 PRFileDesc *newsockfd; local
468 if ((newsockfd = PR_Accept(sp->iod.socket, &sp->netaddr,
484 scp->iod.socket = newsockfd;
H A Dsocket.c408 PRFileDesc *sockfd, *newsockfd; local
478 if ((newsockfd = PR_Accept(sockfd, addrp,
493 scp->sockfd = newsockfd;
1738 PRFileDesc *sockfd = NULL, *newsockfd; local
1806 if ((newsockfd = PR_Accept(sockfd, addrp,
1823 if (PR_PushIOLayer(newsockfd, PR_TOP_IO_LAYER, layer)
1841 scp->sockfd = newsockfd;

Completed in 241 milliseconds