Re: WebSocket °ü·Ã ¹®ÀÇ

2011/11/30 Wonsuk Lee <wonsuk73@gmail.com>:
>> 2.
>> WebSocket ½ºÆÑÀÌ TCP/IP Socket ½ºÆÑ°ú ´Þ¶ó¼­,
>> ÀÏ¹Ý Socket ¼­¹ö¿Í Á÷Á¢ Åë½ÅÀº ¾î·Á¿ï °Í °°½À´Ï´Ù.
>>
>
>  »ç½Ç WebSocketµµ TCP/IP¸¦ ±â¹ÝÀ¸·Î ÇÑ application protocolÀ̶ó°í º¸½Ã¸é µË´Ï´Ù.
> HTTP ¸¦ È®ÀåÇؼ­ handshake¸¦ ÁøÇàÇϸç, ½ÇÁ¦ÀûÀÎ µ¥ÀÌÅÍ Åë½ÅÀº TCP/IP¸¦ ÀÌ¿ëÇÏ¿© º°µµ sessionÀ» ¸¸µé¾î
> µ¥ÀÌÅ͸¦ ÁÖ°í ¹Þµµ·Ï µÇ¾î ÀÖ½À´Ï´Ù.
>


ÀÌ¿ø¼® ¹Ú»ç´ÔÀÌ ¸»¾¸ÇϽŠ³»¿ëÀÌ ¸Â´Â ¸»¾¸ÀÔ´Ï´Ù¸¸, µÎ ºÐÀÌ ¼­·Î ¾à°£ ´Ù¸¥ ¸»¾¸À» ÇϽŠ°Í °°½À´Ï´Ù. ¾È¼ºÈ« ºÎÀå´ÔÀÇ Áú¹®Àº
WebSocket ¾îÇø®ÄÉÀ̼ÇÀÌ ÀϹÝÀûÀÎ TCP Socekt ¼­¹ö¿Í Á÷Á¢ Åë½ÅÀÌ °¡´ÉÇÏ°Ú´À³Ä´Â °ÍÀ̾ú°í, ¸»¾¸ ÇØÁֽŴë·Î
TCP Socket ¼­¹ö¿Í Á÷Á¢ (natively) Åë½ÅÇϴ°ÍÀº ¾î·Æ°Ú½À´Ï´Ù. (¾È ºÎÀå´Ô, Á¦°¡ ¸Â°Ô Çؼ®ÇÑ°Ç°¡¿ä?)

ÀÌÁ¦´Â Àß ¾Æ½Ã°ÚÁö¸¸, Â÷ÀÌÁ¡¿¡ °üÇؼ­´Â, WebSocket Àº °á±¹ 80 ȤÀº 443 Æ÷Æ®¸¦ ÀÌ¿ëÇؼ­ ÇϳªÀÇ TCP
connectionÀ¸·Î send/receive Çϴ°ÍÀÌ ÀÏ¹Ý Socket Åë½Å°ú ´Ù¸¥Á¡ÀÌ ÀÖ´Â °Í °°½À´Ï´Ù. (¿©·¯°³ÀÇ TCP
¼¼¼ÇÀÌ ÇÊ¿äÇÏ´õ¶óµµ ÇϳªÀÇ TCP ¼ÒÄÏÀ¸·Î multiplexing ÇÏ´Â ¹æ¹ý »ç¿ë)

°¨»çÇÕ´Ï´Ù.
ÃÖ¼öÇö µå¸²

Received on Wednesday, 30 November 2011 14:20:28 UTC