working commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
|
||||
#include <expected>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <span>
|
||||
#include <iostream>
|
||||
#include <semaphore>
|
||||
|
||||
#include <interface.hpp>
|
||||
|
||||
class UxClient {
|
||||
private:
|
||||
int family;
|
||||
int sock;
|
||||
std::binary_semaphore done{0};
|
||||
Interface interface;
|
||||
public:
|
||||
UxClient(void);
|
||||
std::expected<void, std::string> Connect(std::string address, const int port);
|
||||
void SendMessages(void);
|
||||
void RecvMessages(void);
|
||||
std::expected<void, std::string> Run(void);
|
||||
~UxClient(void);
|
||||
};
|
||||
Reference in New Issue
Block a user