DatagramSocket.setOption/getOption/supportedOption should support multicast options

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: