jdk/src/share/classes/java/net/InetSocketAddress.java
changeset 21278 ef8a3a2a72f2
parent 19069 1d9cb0d080e3
child 23720 7d5147c21927
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   194      * <p>
   194      * <p>
   195      * An attempt will be made to resolve the hostname into an InetAddress.
   195      * An attempt will be made to resolve the hostname into an InetAddress.
   196      * If that attempt fails, the address will be flagged as <I>unresolved</I>.
   196      * If that attempt fails, the address will be flagged as <I>unresolved</I>.
   197      * <p>
   197      * <p>
   198      * If there is a security manager, its {@code checkConnect} method
   198      * If there is a security manager, its {@code checkConnect} method
   199      * is called with the host name as its argument to check the permissiom
   199      * is called with the host name as its argument to check the permission
   200      * to resolve it. This could result in a SecurityException.
   200      * to resolve it. This could result in a SecurityException.
   201      * <P>
   201      * <P>
   202      * A valid port value is between 0 and 65535.
   202      * A valid port value is between 0 and 65535.
   203      * A port number of {@code zero} will let the system pick up an
   203      * A port number of {@code zero} will let the system pick up an
   204      * ephemeral port in a {@code bind} operation.
   204      * ephemeral port in a {@code bind} operation.