Searched refs:clientSocket (Results 1 – 4 of 4) sorted by relevance
65 int clientSocket = accept(serverSocket, (struct sockaddr *)&client, &sockaddr_len); in acceptClientConnection() local66 if (clientSocket < 0) { in acceptClientConnection()74 if (getsockopt(clientSocket, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) != 0) { in acceptClientConnection()91 return clientSocket; in acceptClientConnection()
117 int clientSocket = -1; in GLTrace_start() local128 clientSocket = gltrace::acceptClientConnection(udsName); in GLTrace_start()129 if (clientSocket < 0) { in GLTrace_start()138 stream = new TCPStream(clientSocket); in GLTrace_start()
1339 int clientSocket = accept( in threadLoop() local1342 if (clientSocket >= 0) { in threadLoop()1343 status_t err = MakeSocketNonBlocking(clientSocket); in threadLoop()1350 close(clientSocket); in threadLoop()1351 clientSocket = -1; in threadLoop()1362 clientSocket); in threadLoop()1368 clientSocket, in threadLoop()
670 SSLSocket clientSocket = (SSLSocket) serverSocket.accept(); in run() local672 InputStream stream = clientSocket.getInputStream(); in run()683 clientSocket.close(); in run()