Basic protocol done

This commit is contained in:
2025-01-24 20:57:44 +01:00
parent 4da7788a15
commit 2998c187d1
4 changed files with 73 additions and 55 deletions

View File

@@ -1,3 +1,16 @@
#include <cinttypes>
constexpr uint64_t StartHeader = 1737720524UL;
constexpr uint64_t StartHeader = 1737720524UL;
enum Mess
{
RES_OK,
RES_NO,
REQ_SEND_GEN,
};
struct Message
{
Mess mess;
uint32_t data;
};

View File

@@ -2,7 +2,7 @@
#include <list>
#include <vector>
#define NUM_PER_GEN 10
#define NUM_PER_GEN 16
#define NUM_OF_MUT 1
enum Liked