Implemented hearbeat

This commit is contained in:
2026-01-04 20:56:32 +01:00
parent 36ae15c320
commit 4a089ed368
3 changed files with 127 additions and 40 deletions
+3
View File
@@ -1,6 +1,9 @@
#define MESSAGE_LENGTH 256
#define COMMAND_LENGTH 16
#define HEARTBEAT_INTERVAL 3 // in seconds
#define HEARTBEAT_TIMEOUT 10
typedef enum {
Message = 1,
Login,