From b5c87084afaef42b2d058f68091be31988a6a874 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 13 Sep 2017 11:08:07 +0900 Subject: Imported Upstream version 1.64.0 Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b Signed-off-by: DongHun Kwak --- .../basic_stream_socket/do_not_route.html | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 doc/html/boost_asio/reference/basic_stream_socket/do_not_route.html (limited to 'doc/html/boost_asio/reference/basic_stream_socket/do_not_route.html') diff --git a/doc/html/boost_asio/reference/basic_stream_socket/do_not_route.html b/doc/html/boost_asio/reference/basic_stream_socket/do_not_route.html new file mode 100644 index 0000000000..82d630cef1 --- /dev/null +++ b/doc/html/boost_asio/reference/basic_stream_socket/do_not_route.html @@ -0,0 +1,87 @@ + + + +basic_stream_socket::do_not_route + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+ +

+ Inherited from socket_base. +

+

+ +Socket option to prevent routing, use local + interfaces only. +

+
typedef implementation_defined do_not_route;
+
+

+ Implements the SOL_SOCKET/SO_DONTROUTE socket option. +

+
+ + Examples +
+

+ Setting the option: +

+
boost::asio::ip::udp::socket socket(io_service);
+...
+boost::asio::socket_base::do_not_route option(true);
+socket.set_option(option);
+
+

+ Getting the current option value: +

+
boost::asio::ip::udp::socket socket(io_service);
+...
+boost::asio::socket_base::do_not_route option;
+socket.get_option(option);
+bool is_set = option.value();
+
+
+ + Requirements +
+

+ Header: boost/asio/basic_stream_socket.hpp +

+

+ Convenience header: boost/asio.hpp +

+
+ + + +
+
+
+PrevUpHomeNext +
+ + -- cgit v1.2.3