±Û¾´ÀÌ :¹ÚÁ¾¿± 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¸¦ Àü¼ÛÇÏ´Â °Í ÀÔ´Ï´Ù.
À§¿Í ºñ½ÁÇÑ ¹æ¹ýÀ¸·Î ¼º°øÇϽźРÀÖÀ¸½Ã¸é ºÎµð µµ¿ÍÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.
´Ù¸¥ ¹æ¹ýµµ ¹°·Ð ȯ¿µÇÕ´Ï´Ù.
°¨»çÇÕ´Ï´Ù.