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

java.net.MulticastSocket.send ttl byte argument needs to be an int

XMLWordPrintable

    • sparc
    • solaris_2.5



      Name: yyC67448 Date: 06/24/98



         MulticastSocket.send still takes a byte for ttl, but legal values for ttl are
         between 0 and 255. The type for ttl parameter of send needs to be changed to short
         or an int.
         
      ======================================================================

      Sigh. While we are at it, fix the old send() method to stop
      getting and restoring the default TTL around the impl.send() using the
      old getTTL() method which has now been redefined to clamp all TTLs
      values to between 0 and 127.

      jeff.nisewanger@Eng 1998-10-28

            jdn Jeffrey Nisewanger (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: