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

DatagramSocket.setOption/getOption/supportedOption should support multicast options

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • core-libs
    • None
    • b27

      DatagramSocket can be used to send multicast datagrams but surprisingly it's not possible to set the IP_MULTICAST_IF or IP_MULTICAST_TTL socket options with its setOption method.

      We should remove this artificial limitation so that DatagramSocket can be implemented on DatagramChannel. Removing this restriction will also simplify PlainDatagramSocketImpl.

            pconcannon Patrick Concannon (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: