00001 // 00002 // unicast.hpp 00003 // ~~~~~~~~~~~ 00004 // 00005 // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com) 00006 // 00007 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00009 // 00010 00011 #ifndef ASIO_IP_UNICAST_HPP 00012 #define ASIO_IP_UNICAST_HPP 00013 00014 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 00015 # pragma once 00016 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 00017 00018 #include "asio/detail/push_options.hpp" 00019 00020 #include "asio/detail/push_options.hpp" 00021 #include <cstddef> 00022 #include <boost/config.hpp> 00023 #include "asio/detail/pop_options.hpp" 00024 00025 #include "asio/ip/detail/socket_option.hpp" 00026 00027 namespace asio { 00028 namespace ip { 00029 namespace unicast { 00030 00032 00057 #if defined(GENERATING_DOCUMENTATION) 00058 typedef implementation_defined hops; 00059 #else 00060 typedef asio::ip::detail::socket_option::unicast_hops< 00061 IPPROTO_IP, IP_TTL, IPPROTO_IPV6, IPV6_UNICAST_HOPS> hops; 00062 #endif 00063 00064 } // namespace unicast 00065 } // namespace ip 00066 } // namespace asio 00067 00068 #include "asio/detail/pop_options.hpp" 00069 00070 #endif // ASIO_IP_UNICAST_HPP