i think the server's register process is done

This commit is contained in:
Rusty Striker 2024-12-20 11:23:49 +02:00
parent c4524fb62e
commit 90a3be5754
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
6 changed files with 314 additions and 59 deletions

View file

@ -12,7 +12,7 @@ public enum RequestType {
public static class Request {
public static byte[] CreateRequest(RequestType Type, ref byte counter, byte[] data) {
if(data.Length > 13) {
throw new Exception("extra data is too long");
throw new Exception("extra data is too long: " + data.Length.ToString());
}
byte[] msg = new byte[128];