
22 Jan
2012
22 Jan
'12
4:55 p.m.
Is there any portable way (by using boost) to send multicast messages through all network interfaces available on the host? I have managed to do it by setting outbound_interface option on the socket. However, how can I know which if_index are available? Also, it only works for IPv6. If I set a IPv4 address it always use the same interface.
You can also try asking on Asio mailing list: http://news.gmane.org/gmane.comp.lib.boost.asio.user