Jump to content

RCon protocol: Difference between revisions

Remove lines
No edit summary
(Remove lines)
Line 20: Line 20:


Messages that the server sends to the client always begin with one of the following bytes:
Messages that the server sends to the client always begin with one of the following bytes:
<syntaxhighlight lang="cpp" line="1" >
<syntaxhighlight lang="cpp" >
enum
enum
{
{
Line 37: Line 37:
Messages that the client sends to the server always begin with one of the following bytes:
Messages that the client sends to the server always begin with one of the following bytes:


<syntaxhighlight lang="cpp" line="1" >
<syntaxhighlight lang="cpp" >
enum
enum
{
{
Line 50: Line 50:


Also, when the server sends SVRC_UPDATE, it's immediately followed by another byte:
Also, when the server sends SVRC_UPDATE, it's immediately followed by another byte:
<syntaxhighlight lang="cpp" line="1" >
<syntaxhighlight lang="cpp" >
enum
enum
{
{