Home
last modified time | relevance | path

Searched refs:tcpport_ (Results 1 – 2 of 2) sorted by relevance

/third_party/cares/test/
Dares-test.cc173 : udpport_(port), tcpport_(tcpport ? tcpport : udpport_), qid_(-1) { in MockServer()
194 addr.sin_port = htons(tcpport_); in MockServer()
196 EXPECT_EQ(0, tcprc) << "Failed to bind AF_INET to TCP port " << tcpport_; in MockServer()
206 addr.sin6_port = htons(tcpport_); in MockServer()
208 EXPECT_EQ(0, tcprc) << "Failed to bind AF_INET6 to TCP port " << tcpport_; in MockServer()
216 << " on port " << tcpport_ in MockServer()
324 << " on port " << (fd == udpfd_ ? udpport_ : tcpport_) << std::endl; in ProcessFD()
360 << " on port " << ((fd == udpfd_) ? udpport_ : tcpport_) << std::endl; in ProcessRequest()
Dares-test.h160 int tcpport() const { return tcpport_; } in tcpport()
167 int tcpport_; variable