Searched refs:newsock (Results 1 - 6 of 6) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dintrio.c70 PRFileDesc *sock, *newsock; local
96 newsock = PR_Accept(sock, NULL, PR_INTERVAL_NO_TIMEOUT);
97 if (newsock != NULL) {
H A Dsel_spd.c147 PRFileDesc * newsock; local
215 if ( (newsock = PR_Accept(sock, &sa,
222 fprintf(stdout, "server thread %d got connection %d\n", *id, newsock);
228 if ( _readn(newsock, data_buffer, _client_data) < _client_data) {
238 if ( PR_Send(newsock, data_buffer, _server_data, 0,
250 PR_Close(newsock);
/vbox/src/VBox/NetworkServices/NAT/
H A Dfwtcp.c220 SOCKET newsock; local
236 newsock = accept(fwtcp->sock, (struct sockaddr *)&ss, &sslen);
237 if (newsock == INVALID_SOCKET) {
253 pxtcp = pxtcp_create_forwarded(newsock);
255 proxy_reset_socket(newsock);
/vbox/src/VBox/Devices/Network/lwip/src/api/
H A Dsockets.c172 int newsock; local
198 newsock = alloc_socket(newconn);
199 if (newsock == -1) {
205 sock = get_socket(newsock);
209 newconn->socket = newsock;
212 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_accept(%d) returning new sock=%d addr=", s, newsock));
217 return newsock;
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dsockets.c390 int newsock; local
443 newsock = alloc_socket(newconn, 1);
444 if (newsock == -1) {
449 LWIP_ASSERT("invalid socket index", (newsock >= 0) && (newsock < NUM_SOCKETS));
451 nsock = &sockets[newsock];
460 newconn->socket = newsock;
463 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_accept(%d) returning new sock=%d", s, newsock));
471 return newsock;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntio.c989 _md_put_recycled_socket(SOCKET newsock) argument
995 _pr_recycle_array[_pr_recycle_tail] = newsock;
1000 closesocket(newsock);

Completed in 3254 milliseconds