equal
deleted
inserted
replaced
275 |
275 |
276 /** |
276 /** |
277 * The <em>time-to-live</em> for Internet Protocol (IP) multicast datagrams. |
277 * The <em>time-to-live</em> for Internet Protocol (IP) multicast datagrams. |
278 * |
278 * |
279 * <p> The value of this socket option is an {@code Integer} in the range |
279 * <p> The value of this socket option is an {@code Integer} in the range |
280 * <tt>0 <= value <= 255</tt>. It is used to control |
280 * {@code 0 <= value <= 255}. It is used to control the scope of multicast |
281 * the scope of multicast datagrams sent by the datagram-oriented socket. |
281 * datagrams sent by the datagram-oriented socket. |
282 * In the case of an {@link StandardProtocolFamily#INET IPv4} socket |
282 * In the case of an {@link StandardProtocolFamily#INET IPv4} socket |
283 * the option is the time-to-live (TTL) on multicast datagrams sent by the |
283 * the option is the time-to-live (TTL) on multicast datagrams sent by the |
284 * socket. Datagrams with a TTL of zero are not transmitted on the network |
284 * socket. Datagrams with a TTL of zero are not transmitted on the network |
285 * but may be delivered locally. In the case of an {@link |
285 * but may be delivered locally. In the case of an {@link |
286 * StandardProtocolFamily#INET6 IPv6} socket the option is the |
286 * StandardProtocolFamily#INET6 IPv6} socket the option is the |