< prev index next >

src/java.base/share/classes/java/net/InetAddress.java

Print this page

        

*** 70,83 **** * with a host name or whether it has already done reverse host name * resolution). * * <h3> Address types </h3> * ! * <blockquote><table class="borderless"> * <caption style="display:none">Description of unicast and multicast address types</caption> * <tbody> ! * <tr><th style="vertical-align:top"><i>unicast</i></th> * <td>An identifier for a single interface. A packet sent to * a unicast address is delivered to the interface identified by * that address. * * <p> The Unspecified Address -- Also called anylocal or wildcard --- 70,86 ---- * with a host name or whether it has already done reverse host name * resolution). * * <h3> Address types </h3> * ! * <table class="striped" style="margin-left:2em"> * <caption style="display:none">Description of unicast and multicast address types</caption> + * <thead> + * <tr><th scope="col">Address Type</th><th scope="col">Description</th></tr> + * </thead> * <tbody> ! * <tr><th scope="row" style="vertical-align:top">unicast</th> * <td>An identifier for a single interface. A packet sent to * a unicast address is delivered to the interface identified by * that address. * * <p> The Unspecified Address -- Also called anylocal or wildcard
*** 92,107 **** * <p> The <i>Loopback</i> Addresses -- This is the address * assigned to the loopback interface. Anything sent to this * IP address loops around and becomes IP input on the local * host. This address is often used when testing a * client.</td></tr> ! * <tr><th style="vertical-align:top"><i>multicast</i></th> * <td>An identifier for a set of interfaces (typically belonging * to different nodes). A packet sent to a multicast address is * delivered to all interfaces identified by that address.</td></tr> * </tbody> ! * </table></blockquote> * * <h4> IP address scope </h4> * * <p> <i>Link-local</i> addresses are designed to be used for addressing * on a single link for purposes such as auto-address configuration, --- 95,110 ---- * <p> The <i>Loopback</i> Addresses -- This is the address * assigned to the loopback interface. Anything sent to this * IP address loops around and becomes IP input on the local * host. This address is often used when testing a * client.</td></tr> ! * <tr><th scope="row" style="vertical-align:top">multicast</th> * <td>An identifier for a set of interfaces (typically belonging * to different nodes). A packet sent to a multicast address is * delivered to all interfaces identified by that address.</td></tr> * </tbody> ! * </table> * * <h4> IP address scope </h4> * * <p> <i>Link-local</i> addresses are designed to be used for addressing * on a single link for purposes such as auto-address configuration,
*** 161,172 **** * negative caching TTL value when needed. * * <p> Two Java security properties control the TTL values used for * positive and negative host name resolution caching: * ! * <blockquote> ! * <dl> * <dt><b>networkaddress.cache.ttl</b></dt> * <dd>Indicates the caching policy for successful name lookups from * the name service. The value is specified as an integer to indicate * the number of seconds to cache the successful lookup. The default * setting is to cache for an implementation specific period of time. --- 164,174 ---- * negative caching TTL value when needed. * * <p> Two Java security properties control the TTL values used for * positive and negative host name resolution caching: * ! * <dl style="margin-left:2em"> * <dt><b>networkaddress.cache.ttl</b></dt> * <dd>Indicates the caching policy for successful name lookups from * the name service. The value is specified as an integer to indicate * the number of seconds to cache the successful lookup. The default * setting is to cache for an implementation specific period of time.
*** 181,191 **** * <p> * A value of 0 indicates "never cache". * A value of -1 indicates "cache forever". * </dd> * </dl> - * </blockquote> * * @author Chris Warth * @see java.net.InetAddress#getByAddress(byte[]) * @see java.net.InetAddress#getByAddress(java.lang.String, byte[]) * @see java.net.InetAddress#getAllByName(java.lang.String) --- 183,192 ----
< prev index next >