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
+20
View File
@@ -0,0 +1,20 @@
#include <expected>
#include <string>
class Address {
private:
int family;
std::string address;
public:
Address(const std::string iaddress, const int ifamily);
int GetFamily();
std::string GetAddress();
};
class Resolver {
private:
int family;
public:
std::expected<Address, std::string> Resolve(const std::string hostname);
};