working commit

This commit is contained in:
2026-04-22 14:26:33 +02:00
parent e9a527b5de
commit fb080285c6
23 changed files with 1198 additions and 1739 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef UPDCLIENT_HPP
#define UPDCLIENT_HPP
class UDPClient {
private:
int sockfd;
std::string address;
int port;
int rmax;
int family;
public:
UDPClient(void);
std::expected<void, std::string> Bind(std::string address, int port);
std::expected<void, std::string> Send(std::string buffer);
std::expected<std::string, std::string> Recv();
void Close(void);
~UDPClient(void);
};
#endif