multicast.hpp
Go to the documentation of this file.
00001 //
00002 // multicast.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_MULTICAST_HPP
00012 #define ASIO_IP_MULTICAST_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 multicast {
00030 
00032 
00049 #if defined(GENERATING_DOCUMENTATION)
00050 typedef implementation_defined join_group;
00051 #else
00052 typedef asio::ip::detail::socket_option::multicast_request<
00053   IPPROTO_IP, IP_ADD_MEMBERSHIP, IPPROTO_IPV6, IPV6_JOIN_GROUP> join_group;
00054 #endif
00055 
00057 
00074 #if defined(GENERATING_DOCUMENTATION)
00075 typedef implementation_defined leave_group;
00076 #else
00077 typedef asio::ip::detail::socket_option::multicast_request<
00078   IPPROTO_IP, IP_DROP_MEMBERSHIP, IPPROTO_IPV6, IPV6_LEAVE_GROUP> leave_group;
00079 #endif
00080 
00082 
00099 #if defined(GENERATING_DOCUMENTATION)
00100 typedef implementation_defined outbound_interface;
00101 #else
00102 typedef asio::ip::detail::socket_option::network_interface<
00103   IPPROTO_IP, IP_MULTICAST_IF, IPPROTO_IPV6, IPV6_MULTICAST_IF>
00104   outbound_interface;
00105 #endif
00106 
00108 
00133 #if defined(GENERATING_DOCUMENTATION)
00134 typedef implementation_defined hops;
00135 #else
00136 typedef asio::ip::detail::socket_option::multicast_hops<
00137   IPPROTO_IP, IP_MULTICAST_TTL, IPPROTO_IPV6, IPV6_MULTICAST_HOPS> hops;
00138 #endif
00139 
00142 
00167 #if defined(GENERATING_DOCUMENTATION)
00168 typedef implementation_defined enable_loopback;
00169 #else
00170 typedef asio::ip::detail::socket_option::multicast_enable_loopback<
00171   IPPROTO_IP, IP_MULTICAST_LOOP, IPPROTO_IPV6, IPV6_MULTICAST_LOOP>
00172   enable_loopback;
00173 #endif
00174 
00175 } // namespace multicast
00176 } // namespace ip
00177 } // namespace asio
00178 
00179 #include "asio/detail/pop_options.hpp"
00180 
00181 #endif // ASIO_IP_MULTICAST_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:39