From f66e28aa88a5f4176934001fa9e4967ddccde4a9 Mon Sep 17 00:00:00 2001 From: bt Date: Wed, 8 Apr 2026 15:31:58 +0200 Subject: [docs] Describe connection types --- docs/rfc.txt | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'docs/rfc.txt') diff --git a/docs/rfc.txt b/docs/rfc.txt index a19de19..f9e8bca 100644 --- a/docs/rfc.txt +++ b/docs/rfc.txt @@ -1,7 +1,7 @@ SOLEC Working Group bt, Ed. Internet-Draft RCTT.net -Intended status: Experimental 10 April 2026 -Expires: 12 October 2026 +Intended status: Experimental 14 April 2026 +Expires: 16 October 2026 System of Lightweight Electronic Communication @@ -208,10 +208,29 @@ Table of Contents | uint8 | ver_major | +-------+-----------+ | uint8 | ver_minor | + +-------+-----------+ + | uint8 | conn_type | +-------+-----------+ Table 4 +2.4.3.1. Connection types + + conn_type specifies type of the connection. User connecting to + server should use 0x01. If connection is initialize between two + servers to exchange message connection type should be 0x02. + Depending on connection type different auth method will be used. + + +======+==================+ + | Type | Connection type | + +======+==================+ + | 0x01 | User -> Server | + +------+------------------+ + | 0x02 | Server -> Server | + +------+------------------+ + + Table 5 + 2.4.4. Auth +========+==========+ @@ -222,7 +241,7 @@ Table of Contents | string | password | +--------+----------+ - Table 5 + Table 6 2.4.5. Message @@ -238,7 +257,7 @@ Table of Contents | string | message_content | +-----------+-----------------+ - Table 6 + Table 7 2.4.6. Test @@ -265,7 +284,7 @@ Table of Contents | uint64 | num4 | +-----------+-------+ - Table 7 + Table 8 2.5. Sequential operations -- cgit v1.2.3