jdk/src/share/classes/java/net/MulticastSocket.java
changeset 18156 edb590d448c5
parent 14342 8435a30053c1
child 19069 1d9cb0d080e3
equal deleted inserted replaced
18155:889970e5b728 18156:edb590d448c5
   199      * Set the default time-to-live for multicast packets sent out
   199      * Set the default time-to-live for multicast packets sent out
   200      * on this <code>MulticastSocket</code> in order to control the
   200      * on this <code>MulticastSocket</code> in order to control the
   201      * scope of the multicasts.
   201      * scope of the multicasts.
   202      *
   202      *
   203      * <p>The ttl is an <b>unsigned</b> 8-bit quantity, and so <B>must</B> be
   203      * <p>The ttl is an <b>unsigned</b> 8-bit quantity, and so <B>must</B> be
   204      * in the range <code> 0 <= ttl <= 0xFF </code>.
   204      * in the range {@code 0 <= ttl <= 0xFF }.
   205      *
   205      *
   206      * @param ttl the time-to-live
   206      * @param ttl the time-to-live
   207      * @exception IOException if an I/O exception occurs
   207      * @exception IOException if an I/O exception occurs
   208      * while setting the default time-to-live value
   208      * while setting the default time-to-live value
   209      * @deprecated use the setTimeToLive method instead, which uses
   209      * @deprecated use the setTimeToLive method instead, which uses