Lines Matching refs:sock_
276 sock_ = 0;
2069 if (-1 == bind(sock_, (struct sockaddr*)&sa, sizeof(struct sockaddr))) {
2077 listen(sock_, 3);
2087 // Watch sock_ to see when it has input.
2089 FD_SET(sock_, &rfds);
2094 retval = select(sock_ + 1, &rfds, NULL, NULL, &tv);
2104 int newsock = accept(sock_, reinterpret_cast<struct sockaddr *>(&sa), &size);
2318 sock_ = 0;
2319 if (!CreateSocket(&sock_)) {
2355 CloseSocket(sock_);
2367 sock_ = sock;
2377 int sock = sock_;