Lines Matching refs:sock_
268 sock_ = 0; in NetworkThread()
2063 if (-1 == ::bind(sock_, (struct sockaddr*)&sa, sizeof(struct sockaddr))) { in Listen()
2071 listen(sock_, 3); in Listen()
2083 FD_SET(sock_, &rfds); in Wait()
2088 retval = select(sock_ + 1, &rfds, NULL, NULL, &tv); in Wait()
2098 int newsock = accept(sock_, reinterpret_cast<struct sockaddr *>(&sa), &size); in GetConnection()
2312 sock_ = 0; in Work()
2313 if (!CreateSocket(&sock_)) { in Work()
2349 CloseSocket(sock_); in Work()
2361 sock_ = sock; in SetSock()
2371 int sock = sock_; in Work()