Searched refs:udpfd_ (Results 1 – 2 of 2) sorted by relevance
184 udpfd_ = socket(family, SOCK_DGRAM, 0); in MockServer()185 EXPECT_NE(-1, udpfd_); in MockServer()197 int udprc = bind(udpfd_, (struct sockaddr*)&addr, sizeof(addr)); in MockServer()209 int udprc = bind(udpfd_, (struct sockaddr*)&addr, sizeof(addr)); in MockServer()216 << " and UDP socket " << udpfd_ in MockServer()228 sclose(udpfd_); in ~MockServer()232 if (fd != tcpfd_ && fd != udpfd_ && connfds_.find(fd) == connfds_.end()) { in ProcessFD()253 if (fd != udpfd_) { in ProcessFD()322 std::cerr << "received " << (fd == udpfd_ ? "UDP" : "TCP") << " request " << PacketToString(req) in ProcessFD()323 << " on port " << (fd == udpfd_ ? udpport_ : tcpport_) << std::endl; in ProcessFD()[all …]
168 int udpfd_; variable