Lines Matching refs:clientSock
179 int local_clientSock = this->clientSock; in Shutdown()
182 this->listenSock = this->clientSock = -1; in Shutdown()
226 CHECK_EQ(clientSock, -1); /* must not already be talking */ in Accept()
249 clientSock = sock; in Accept()
254 SetNoDelay(clientSock); in Accept()
332 clientSock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in Establish()
333 if (clientSock < 0) { in Establish()
341 if (connect(clientSock, &addr.addrPlain, sizeof(addr)) != 0) { in Establish()
344 close(clientSock); in Establish()
345 clientSock = -1; in Establish()
354 SetNoDelay(clientSock); in Establish()
381 CHECK_NE(clientSock, -1); in ProcessIncoming()
402 fd = clientSock; in ProcessIncoming()
468 if (clientSock >= 0 && FD_ISSET(clientSock, &readfds)) { in ProcessIncoming()
470 read(clientSock, input_buffer_ + input_count_, sizeof(input_buffer_) - input_count_); in ProcessIncoming()
509 int cc = TEMP_FAILURE_RETRY(write(clientSock, input_buffer_, kMagicHandshakeLen)); in ProcessIncoming()