#ifndef SOCKHAND_HPP #define SOCKHAND_HPP #include #include #include #include #include class SocketHandler { private: int sock; std::mutex intMtx; std::binary_semaphore done{0}; Interface interface; std::string tunAddress; public: void Handle(int newsock, std::string laddr, std::string raddr, std::vector routes); void RecvMessages(void); void SendMessages(void); }; #endif