Lines Matching refs:sock_
276 sock_ = 0; in NetworkThread()
2069 if (-1 == bind(sock_, (struct sockaddr*)&sa, sizeof(struct sockaddr))) { in Listen()
2077 listen(sock_, 3); in Listen()
2089 FD_SET(sock_, &rfds); in Wait()
2094 retval = select(sock_ + 1, &rfds, NULL, NULL, &tv); in Wait()
2104 int newsock = accept(sock_, reinterpret_cast<struct sockaddr *>(&sa), &size); in GetConnection()
2318 sock_ = 0; in Work()
2319 if (!CreateSocket(&sock_)) { in Work()
2355 CloseSocket(sock_); in Work()
2367 sock_ = sock; in SetSock()
2377 int sock = sock_; in Work()