Searched refs:newsockfd (Results 1 – 3 of 3) sorted by relevance
115 int newsockfd; in StartSocketServerForDriver() local120 newsockfd = accept(sockfd, (struct sockaddr*) &cli_addr, &clilen); in StartSocketServerForDriver()121 if (newsockfd < 0) { in StartSocketServerForDriver()129 SocketServerForDriver server(newsockfd, runner_port); in StartSocketServerForDriver()133 close(newsockfd); in StartSocketServerForDriver()
85 int newsockfd = ::accept(sockfd, (struct sockaddr*)&cli_addr, &clilen); in StartTcpServerForRunner() local86 if (newsockfd < 0) { in StartTcpServerForRunner()100 handler.SetSockfd(newsockfd); in StartTcpServerForRunner()108 close(newsockfd); in StartTcpServerForRunner()
273 int newsockfd = ::accept(sockfd, (struct sockaddr*)&cli_addr, &clilen); in StartSocketServer() local274 if (newsockfd < 0) { in StartSocketServer()286 server->SetSockfd(newsockfd); in StartSocketServer()295 close(newsockfd); in StartSocketServer()