Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-230

Unable to join to IPv4 multicast group

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 3.2.0.Final
    • api, nio-impl
    • None

    Description

      XnioWorker#createUdpServer aquires a DatagramChannel via DatagramChannel#open(). So, on a IPv6-enabled system, a sun.nio.ch.DatagramChannelImpl is contructed with a StandardProtocolFamily.INET6-family. Trying to join an IPv4-multicast group fails because a StandardProtocolFamily.INET6-sun.nio.ch.DatagramChannelImpl can't join any Inet4Address.

      An StandardProtocolFamily.INET-sun.nio.ch.DatagramChannelImpl is normally contructed via DatagramChannel#open(ProtocolFamily). The XNIO-API may have to be extended to support this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            systemtrap Matthias Berndt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: