C++ multiple multicast receiver with boost asio
I have to implement a multicast receiver able to join a list of multicast groups and process received data in a specific thread using boost. I did try the following code..... boost::asio::io_service m_io_service; boost::asio::ip::udp::socket m_multicast_socket(m_io_service); // listen address boost::asio::ip::address listen_address = boost::asio::ip::address::from_string("0.0.0.0"); // listen port unsigned short multicast_port = m_configuration->m_multicast_interface_port; boost::asio::ip::udp::endpoint listen_endpoint( listen_address, multicast_port ); // open socket m_multicast_socket.open(