
9 May
2011
9 May
'11
8:21 p.m.
Hello, I am trying to use Boost for some IPv6 and multicast network communication. I need to construct an IPv6 multicast socket that uses a specific network interface index. I was able to find the correct multicast option to set the network interface index in boost/asio/ip/detail/socket_option.hpp: explicit multicast_request(const boost::asio::ip::address_v6& multicast_address, unsigned long network_interface = 0) The problem is, I don't know how to find the correct value for the "network_interface" parameter. Is there a way to get the network_interface value using a local IPv6 address that I can provide? I looked in the documentation and examples, but couldn't find anything. -- Dylan
5039
Age (days ago)
5039
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dylan Klomparens