socket »ý¼º½Ã ¹®Á¦


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :ŵð 2000³â 7¿ù 03ÀÏ 11:07:34

¼ÒÄÏ»ý¼ºÈÄ ¼ÒÄÏÀÇ InputStream »ý¼º½Ã NullPointExceptionÀÌ ¹ß»ýÇϴµ¥ ¿øÀÎÀ» ¸ð¸£°Ú½À´Ï´Ù.°í¼ö´Ôµé ±ÞÇØ¿©.ºÎŹ ¶Ç ºÎŹµå¸³´Ï´Ù.
public String comm_read() {
InputStream inn = null;
String read_buff = "";
try {
inn = c_socket.getInputStream();
buff_inn = new BufferedInputStream(inn);
data_inn = new DataInputStream(buff_inn);
} catch (IOException e) {
return "";
}

try {
read_buff = data_inn.readLine();
} catch (IOException e) {
return "";
}
return read_buff;
}


´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
HTML ÅÂ±× Æ÷ÇÔ ¿©ºÎ: HTML ¹®¼­ÀÏ °æ¿ì üũ
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]