|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
UnknownHostException 을 사용하고 있는 패키지 | |
---|---|
java.net | 네트워크 어플리케이션을 구현하기 위한 클래스를 제공합니다. |
javax.net | 네트워크 어플리케이션을 위한 클래스를 제공합니다. |
javax.net.ssl | 시큐어 소켓 패키지의 클래스를 제공합니다. |
java.net 에서의 UnknownHostException 의 사용 |
---|
UnknownHostException 를 throw 하는 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 Inet6Address |
Inet6Address. getByAddress (String host,
byte[] addr,
int scope_id)
InetAddress.getByAddress(String, byte[]) 멈춘 구와 같이 해 Inet6Address 를 작성합니다. |
static Inet6Address |
Inet6Address. getByAddress (String host,
byte[] addr,
NetworkInterface nif)
InetAddress.getByAddress(String, byte[]) 멈춘 구와 같이 해 Inet6Address 를 작성합니다. |
static InetAddress |
InetAddress. getByName (String host)
지정된 호스트명을 가지는 호스트의 IP 주소를 가져옵니다. |
static InetAddress |
InetAddress. getLocalHost ()
로컬 호스트를 돌려줍니다. |
UnknownHostException 를 throw 하는 java.net 의 생성자 | |
---|---|
Socket (String host,
int port)
스트림 소켓을 작성해, 지정된 호스트상의 지정된 포트 번호에 접속합니다. |
javax.net 에서의 UnknownHostException 의 사용 |
---|
UnknownHostException 를 throw 하는 javax.net 의 메소드 | |
---|---|
abstract Socket |
SocketFactory. createSocket (String host,
int port)
소켓을 작성해, 지정된 원격 포트상의 지정된 원격 호스트에게 접속합니다. |
abstract Socket |
SocketFactory. createSocket (String host,
int port,
InetAddress localHost,
int localPort)
소켓을 작성해, 지정된 원격 포트상의 지정된 원격 호스트에게 접속합니다. |
javax.net.ssl 에서의 UnknownHostException 의 사용 |
---|
UnknownHostException 를 throw 하는 javax.net.ssl 의 생성자 | |
---|---|
SSLSocket (String host,
int port)
서브 클래스에서만 사용됩니다. |
|
SSLSocket (String host,
int port,
InetAddress clientAddress,
int clientPort)
서브 클래스에서만 사용됩니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.