#ifndef TSERVICE_HPP #define TSERVICE_HPP #include #include #include #include class TunService { private: std::string tunnelnet; std::vector localnets; int listenport; int sock; public: explicit TunService(int port, std::string tunnelnet, std::vector localnets); std::expected Bind(void); std::expected Listen(void); void Handle(int sock); ~TunService(); }; #endif