|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
Àü ´ÙÀ½ | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ |
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 constructor¡¡ ¡¡ | |
---|---|
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 constructor¡¡ ¡¡ | |
---|---|
SSLSocket (String host,
int port)
¼ºê Ŭ·¡½º¿¡¼¸¸ »ç¿ëµË´Ï´Ù. |
|
SSLSocket (String host,
int port,
InetAddress clientAddress,
int clientPort)
¼ºê Ŭ·¡½º¿¡¼¸¸ »ç¿ëµË´Ï´Ù. |
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
Àü ´ÙÀ½ | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.