|
Foundation 1.1.2 | |||||||||
| 前 次 | フレームあり フレームなし | |||||||||
| UnknownHostException を使用しているパッケージ | |
|---|---|
| java.net | ネットワークアプリケーションを実装するためのクラスを提供します。 |
| java.net での UnknownHostException の使用 |
|---|
| UnknownHostException をスローする java.net のメソッド | |
|---|---|
static InetAddress[] |
InetAddress.getAllByName(String host)
ホスト名を指定すると、システムに設定されているネームサービスに基づいてその IP アドレスの配列を返します。 |
static InetAddress |
InetAddress.getByAddress(byte[] addr)
指定された生の IP アドレスを表す InetAddress オブジェクトを返します。 |
static InetAddress |
InetAddress.getByAddress(String host,
byte[] addr)
指定されたホスト名および IP アドレスに基づいて InetAddress を作成します。 |
static InetAddress |
InetAddress.getByName(String host)
指定されたホスト名を持つホストの IP アドレスを取得します。 |
static InetAddress |
InetAddress.getLocalHost()
ローカルホストを返します。 |
| UnknownHostException をスローする java.net のコンストラクタ | |
|---|---|
Socket(String host,
int port)
ストリームソケットを作成し、指定されたホスト上の指定されたポート番号に接続します。 |
|
|
Foundation 1.1.2 | |||||||||
| 前 次 | フレームあり フレームなし | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。
ing HTML relocated from here.-