FrontPage|FindPage|TitleIndex|RecentChanges|RSS sogon_protocol
 

sogon_protocol #


Protocol Base #

- ±âº»Àº ÅؽºÆ®¶óÀÎ ÇÁ·ÎÅäÄÝ - °³¹ßÆíÀǸ¦ À§ÇÑ °ÍÀ̸ç, ÇâÈÄ¿¡ ĸ½¶È­ ½Ãų°ÍÀÌ´Ù (üũ¼¶, ½Ã¸®¾óÄÚµå, ¾Ïȣȭ) - ÆÐŶ ÇϳªÀÇ ±¸Á¶

Header Mark Data End Packet
size 1 var 1
¿¹Á¦ * ... \r
  {Header Mark} : 1 byte = '*'
  {Data} Variable
  {End Mark} : byte = '\r' ; ÀÌ ÄÚµå´Â 0x0DÀÇ Ä³¸®Áö¸®ÅÏ(\r) ij¸¯ÅÍÀÌ´Ù. 

Data ±¸Á¶ #

Command Group Code Command Spacer Data2
size121 var
¿¹Á¦@IN°ø¹éid passwd


  {Command Group Code} : 1 byte ; ÆÐŶÀÇ ´ëºÐ·ùÄÚµå
  {Command} : 2 byte ; Ä¿¸Çµå ¼ÒºÐ·ùÄÚµå
  {Data2} Variable
- ¿¹Á¦
  *@IN hello passwd\r 

{*} Header Mark
{@} Command Code ; ·Î±×ÀÎ ·Î±×¾Æ¿ôµîÀÇ ÁÖ¿äÁ¦¾îÄÚµå±×·ì
{IN} Login Command ; ·Î±×ÀÎ, À̾î {ID}{Password}°¡ µû¶ó¿Â´Ù
{token1} ID
{token2} Password
{End Mark}

Sogon Protocols (Client to Server) #

±¸Çö¿Ï·áÇ¥½ÃMarkGroup CodeCommandSpacerData2MarkDesc
* \r
ÀÛ¾÷Áß*@IN (id) (password)\r·Î±×ÀΠó¸®. ÀÌ¿¡ ´ëÇÑ ¼­¹öÀÀ´äÀº °°Àº *@IN ÀÌ´Ù
ÀÛ¾÷Áß .SA (´ëÈ­³»¿ë) ´ëÈ­.. ¸»ÇÏ´Ù, ¼­¹öÀÀ´äÀº Ưº°È÷ ¾ø´Ù


Sogon Protocols (Server to Client) #

±¸Çö¿Ï·áÇ¥½ÃMarkGroup CodeCommandSpacerData2MarkDesc
* \r
ÀÛ¾÷Áß*@IN (result) (description _)\r·Î±×Àο¡ ´ëÇÑ ÀÀ´ä
result:X ·Î±×ÀκҰ¡ A:·Î±×Àμº°ø

last modified 2011-04-19 12:30:56
EditText|FindPage|DeletePage|LikePages|