Home | History | Annotate | Download | only in src

Lines Matching refs:sock_

268   sock_ = 0;
2059 if (-1 == ::bind(sock_, (struct sockaddr*)&sa, sizeof(struct sockaddr))) {
2067 listen(sock_, 3);
2077 // Watch sock_ to see when it has input.
2079 FD_SET(sock_, &rfds);
2084 retval = select(sock_ + 1, &rfds, NULL, NULL, &tv);
2094 int newsock = accept(sock_, reinterpret_cast<struct sockaddr *>(&sa), &size);
2308 sock_ = 0;
2309 if (!CreateSocket(&sock_)) {
2345 CloseSocket(sock_);
2357 sock_ = sock;
2367 int sock = sock_;