Robert Schuster wrote: > Hi, > this is the patch which removes VMPlainDatagramSocketImpl. > > However I tried getting the multicast stuff working. So far I succeeded for > IP4 > sockets. Running in Azureus I get a "Protocol not available" in the native > part > of setMulticastInterface6. > > Casey, can you help me with this stuff? I am feeling lost here :| >
You need to pass the interface *index* when setting the socket option IPV6_MULTICAST_IF (the type is `u_int'). IPv6 generally requires an index. You might be able to use if_nametoindex to get the interface index, if you have the name. On OS X you can look at `man 4 ip6'. I don't know if Linux supports this stuff.
