From 30d90f22f2e9fb023161e913cec9185f897bd196 Mon Sep 17 00:00:00 2001 From: pixtaded Date: Sat, 8 Feb 2025 20:42:14 +0300 Subject: [PATCH] Add RACv1.99 protocol specification --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e163d0..a982c61 100644 --- a/README.md +++ b/README.md @@ -37,4 +37,22 @@ Once the server is running, clients can connect to it and send messages accordin ## RAC Protocol -You can see the RAC protocol documentation [here](https://bedohswe.eu.org/text/rac/protocol.md.html). \ No newline at end of file +1. Message Retrieval + + a. The client initiates a message retrieval session by sending the byte 0x00 to the server. + + b. In response, the server transmits the size of the available messages as an ASCII-encoded string. + + c. After receiving the size, the client must send the following byte or close the connection: + + i. Sending 0x01 instructs the server to transmit the messages. + +2. Message Transmission + + a. To send a message, the client issues a request in the following format: + + 0x01 followed immediately by the message content. + +### Additional Notes: + +Although the protocol may appear similar to RACv1, it is important to note that RACv1.99 represents the beta development phase of RACv2. Consequently, significant changes and enhancements are anticipated. The current specification is implemented in lRACd version 1.99.1 and clRAC version 1.99.1. \ No newline at end of file