[Q] ¼ÒÄÏ¿¬°á¿¡¼­ ObjectInputStream°ú ObjectOutputStream ¾²´Â¹ý.


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

±Û¾´ÀÌ :¹ÚÁ¾¿± 1998³â 10¿ù 10ÀÏ 03:58:05

¾È³çÇϼ¼¿ä?


¼ÒÄÏÀ¸·Î ¿¬°áÇÑ µÎ ÄÄÇ»ÅÍ »çÀÌ¿¡¼­ ObjectInputStream°ú ObjectOutputStream À»
»ç¿ë ÇÏ·Á°í ÇÕ´Ï´Ù. (¼­·Î Vector ¸¦ Àü¼ÛÇÕ´Ï´Ù.)
±×·±µ¥ ¼ÒÄÏÀ» ¿¬°áÇØ ³õ°í StreamÀ» »ý¼ºÇÏ·Á¸é »ý¼ºÀº ¾ÈµÇ°í ¸ØÃç ¹ö¸®³×¿ä...


´©±¸ ¾Æ½Ã´Â ºÐÀº ±Û Á» ¿Ã·ÁÁÖ¼¼¿ä...


Á¦°¡ »ç¿ëÇÑ ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù...


Socket client = new Socket(ServerURL, port);


ObjectInputStream input = new ObjectInputStream(new BufferedInputStream(client.getInputStream()));
ObjectOutputStream output = new ObjectOutputStream(new BufferedOutputStream(client.getOutputStream()));


°á·ÐÀûÀ¸·Î Á¦°¡ ÇÊ¿äÇÑ°Ç ¼­·Î Vector¸¦ Àü¼ÛÇÏ´Â °Í ÀÔ´Ï´Ù.
À§¿Í ºñ½ÁÇÑ ¹æ¹ýÀ¸·Î ¼º°øÇϽźРÀÖÀ¸½Ã¸é ºÎµð µµ¿ÍÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.
´Ù¸¥ ¹æ¹ýµµ ¹°·Ð ȯ¿µÇÕ´Ï´Ù.
°¨»çÇÕ´Ï´Ù.


´ÙÀ½ ±Ûµé:



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

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


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