Home
last modified time | relevance | path

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

/test/vts/agents/hal/
DSocketServerForDriver.cpp115 int newsockfd; in StartSocketServerForDriver() local
120 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()
DTcpServerForRunner.cpp85 int newsockfd = ::accept(sockfd, (struct sockaddr*)&cli_addr, &clilen); in StartTcpServerForRunner() local
86 if (newsockfd < 0) { in StartTcpServerForRunner()
100 handler.SetSockfd(newsockfd); in StartTcpServerForRunner()
108 close(newsockfd); in StartTcpServerForRunner()
/test/vts/drivers/hal/server/
DSocketServer.cpp273 int newsockfd = ::accept(sockfd, (struct sockaddr*)&cli_addr, &clilen); in StartSocketServer() local
274 if (newsockfd < 0) { in StartSocketServer()
286 server->SetSockfd(newsockfd); in StartSocketServer()
295 close(newsockfd); in StartSocketServer()