… | |
… | |
20 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 | --> |
21 | --> |
22 | </head> |
22 | </head> |
23 | <body> |
23 | <body> |
24 | |
24 | |
25 | <h1>$Revision: 1.77 $</h1> |
25 | <h1>$Revision: 1.78 $</h1> |
26 | |
26 | |
27 | <h1>KGS Protocol Description</h1> |
27 | <h1>KGS Protocol Description</h1> |
28 | |
28 | |
29 | <p>This XML document describes the KGS protocol. It is also used |
29 | <p>This XML document describes the KGS protocol. It is also used |
30 | to automatically generate the perl parser for all the messages and |
30 | to automatically generate the perl parser for all the messages and |
… | |
… | |
119 | <td>type</td> |
119 | <td>type</td> |
120 | <td>U16</td> |
120 | <td>U16</td> |
121 | <td> </td> |
121 | <td> </td> |
122 | <td> |
122 | <td> |
123 | <p>If the type is >= 0x4000 this is a message for a specific channel. The channel |
123 | <p>If the type is >= 0x4000 this is a message for a specific channel. The channel |
124 | number is always the next U16.</p> |
124 | number is always the next U16. All of these channel values are valid, including zero.</p> |
125 | |
125 | |
126 | <p>Beginning with version 2.5.x, a number is <em>added</em> on <em>received</em> |
126 | <p>Beginning with version 2.5.x, a number is <em>added</em> on <em>received</em> |
127 | messages only. The algorithm is as follows: |
127 | messages only. The algorithm is as follows: |
128 | |
128 | |
129 | <pre> |
129 | <pre> |
… | |
… | |
347 | <tr> |
347 | <tr> |
348 | <td>PRIVATE</td> |
348 | <td>PRIVATE</td> |
349 | <td></td> |
349 | <td></td> |
350 | <td>128 </td> |
350 | <td>128 </td> |
351 | <td> |
351 | <td> |
352 | <p>PRIVATE is ored onto DEMONSTRATION or TEACHING</p> |
352 | <p>PRIVATE is or'ed onto DEMONSTRATION or TEACHING</p> |
353 | |
353 | |
354 | |
354 | |
355 | </td> |
355 | </td> |
356 | <td> |
356 | <td> |
357 | <b></b> |
357 | <b></b> |