Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236184

(dc) IP_MULTICAST_* and IP_TOS socket options not effective

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b03

      Description

      Assuming IPv6 is enabled: If a DatagramChannel created with the no-arg open method is used to send IPv4 multicast datagrams then it is platform specific as to whether the IP_MULTICAST_XXX socket options are effective or not. The same thing arises with the IP_TOS socket option when sending IPv4 unicast or multicast datagrams. On Linux and Windows it is possible to set IP_MULTICAST_XXX and IP_TOS socket options on IPv6 sockets so that they are effective for IPv4 databases. DatagramChannel should be update to try to set the IPv4 socket options, this will be important for a future MulticastSocket implementation that uses a DatagramChannel under the covers.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alanb Alan Bateman
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: