boost::asio::ip::address_v4 local_interface =
boost::asio::ip::address_v4::from_string(ip);
boost::asio::ip::multicast::outbound_interface option(local_interface);
sock.set_option(option); //set interface
It does not work! I used wireshark to capture data, but the data source interface is not the local_interface, why??? and How to make it working?