Searched refs:udp_socket_ (Results 1 – 4 of 4) sorted by relevance
/third_party/grpc/test/cpp/naming/ |
D | dns_test_util.cc | 40 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()
|
D | dns_test_util.h | 31 int udp_socket_;
|
/third_party/boost/libs/asio/example/cpp03/porthopper/ |
D | server.cpp | 35 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/ |
D | server.cpp | 35 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
|