27 #ifndef MULTICASTSENDER 28 #define MULTICASTSENDER 68 const std::string& interfaceAddress =
"",
bool enableLoopback =
true,
70 size_t sendBufferSize = DEFAULT_UDP_BUF_SIZE);
86 const std::string& interfaceAddress =
"",
bool enableLoopback =
true,
88 size_t sendBufferSize = DEFAULT_UDP_BUF_SIZE);
109 std::string InterfaceAddress()
const;
124 void CreateMulticastSocket(
bool enableLoopback,
eMulticastTTL ttl,
size_t sendBufferSize);
134 std::unique_ptr<IoContextThreadGroup> m_ioThreadGroup{};
138 std::string m_interfaceAddress{};
140 boost_udp_t::endpoint m_multicastEndpoint{};
149 #endif // MULTICASTSENDER File containing declarations relating the IoContextThreadGroup class.
Multicast only to same subnet.
The core_lib namespace.
Definition: AsioDefines.h:59
boost_udp_t::socket m_socket
Multicast socket.
Definition: MulticastSender.h:142
eMulticastTTL
The multicast TTL enumeration.
Definition: AsioDefines.h:129
A general purpose multicast sender.
Definition: MulticastSender.h:47
std::pair< std::string, uint16_t > connection_t
Typedef describing a network connection as (address, port).
Definition: AsioDefines.h:152
boost_asio::io_context boost_iocontext_t
Boost IO context convenience typedef.
Definition: AsioDefines.h:46
std::vector< char > char_buffer_t
Typedef to generic char buffer based on s std::vector<char>.
Definition: AsioDefines.h:239