work in progress

This commit is contained in:
2022-11-06 23:30:21 +01:00
parent f13900156e
commit 8bdf357e1a
4 changed files with 45 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
#include <string>
#include <vector>
#include "Payload.h"
class Payload;
@@ -26,7 +27,7 @@ public:
~Connection();
bool send(std::vector<Payload> payload);
bool recv(void* data, int size);
Payload recv();
/**
* Return the error code from the last command if there is one