Home
last modified time | relevance | path

Searched refs:udp_socket_ (Results 1 – 4 of 4) sorted by relevance

/third_party/grpc/test/cpp/naming/
Ddns_test_util.cc40 udp_socket_ = socket(AF_INET6, SOCK_DGRAM, 0); in FakeNonResponsiveDNSServer()
42 if (udp_socket_ == BAD_SOCKET_RETURN_VAL) { in FakeNonResponsiveDNSServer()
55 if (bind(udp_socket_, (const sockaddr*)&addr, sizeof(addr)) != 0) { in FakeNonResponsiveDNSServer()
88 closesocket(udp_socket_); in ~FakeNonResponsiveDNSServer()
91 close(udp_socket_); in ~FakeNonResponsiveDNSServer()
Ddns_test_util.h31 int udp_socket_;
/third_party/boost/libs/asio/example/cpp03/porthopper/
Dserver.cpp35 udp_socket_(io_context, udp::endpoint(udp::v4(), 0)), in server()
139 udp_socket_.send_to(f.to_buffers(), *j, 0, ec); in handle_timer()
155 udp::socket udp_socket_; member in server
/third_party/boost/doc/html/boost_asio/example/cpp03/porthopper/
Dserver.cpp35 udp_socket_(io_context, udp::endpoint(udp::v4(), 0)), in server()
139 udp_socket_.send_to(f.to_buffers(), *j, 0, ec); in handle_timer()
155 udp::socket udp_socket_; member in server