> 
> The advanced API does not address this yet....is there any way at all to
> currently join an IPv4 multicast group on an AF_INET6 socket?
> Or do applications need to open a separate AF_INET socket to join v4
> groups?

When working on porting the java.net classes to transparently support
IPv6 we discovered that supporting IPv4-mapped addresses in IPV6_JOIN_GROUP
(as well as supporting an ifindex for an interface with no IPv6 for
IPV6_JOIN_GROUP and IPV6_MULTICAST_IF) was needed in order to get
good transparency.

Essentially when a java.net datagram socket is created it always corresponds
an AF_INET6 socket in the kernel (if the kernel supports IPv6) and 
IPV6_JOIN_GROUP and sendto() handle IPv4-mapped addresses.

  Erik

--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to