AFSocketAddress.
| Modifier and Type | Method and Description |
|---|---|
| public SocketAddress | Returns: TheAFSocketAddressThe hostname host, int The port, or 0. port)Translates a "host" string (and port) to an |
| public default boolean | Returns: true if supported.The host to check. host)Checks whether the given hostname is supported by this socket factory. |
| addressFromHost | back to summary |
|---|---|
| public SocketAddress addressFromHost(String host, int port) throws SocketException Translates a "host" string (and port) to an
| |
| isHostnameSupported | back to summary |
|---|---|
| public default boolean isHostnameSupported(String host) Checks whether the given hostname is supported by this socket factory. If not, calls to
createSocket will cause a
| |