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

Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket

XMLWordPrintable

    • b24

      The following methods on java.net.MulticastSocket and java.net.DatagramSocketImpl have been deprecated since Java 1.2:

      public void setTTL(byte ttl) throws IOException
      public byte getTTL() throws IOException

      The following method on MulticastSocket too has been deprecated since Java 1.4

      public void send(DatagramPacket p, byte ttl) throws IOException

      The javadocs of these methods have already stated the replacement APIs to use. We should now mark these methods as deprecated for removal, so that they can be removed in some future release.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: