Files
stvpn/uxclient.hpp
T
Олег Бородин 9540ac05d4 working commit
2026-05-06 15:10:19 +02:00

25 lines
538 B
C++

#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);
};