working commit

This commit is contained in:
2026-04-27 11:53:11 +02:00
parent 43d1cfc2b4
commit ac88dbd051
14 changed files with 281 additions and 148 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
#include <expected>
#include <string>
class Handler {
class SocketHandler {
public:
void Handle(int sock);
};
@@ -17,7 +17,7 @@ private:
public:
explicit Service(int port);
std::expected<void, std::string> Bind(void);
std::expected<void, std::string> Listen(Handler *handler);
std::expected<void, std::string> Listen(SocketHandler *handler);
~Service();
};