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