working commit
This commit is contained in:
+6
-1
@@ -9,6 +9,11 @@
|
||||
|
||||
#include <interface.hpp>
|
||||
|
||||
extern const std::string internetPkgMsg;
|
||||
extern const std::string tunAddressMsg;
|
||||
extern const std::string localRouteMsg;
|
||||
|
||||
|
||||
class SocketHandler {
|
||||
private:
|
||||
int sock;
|
||||
@@ -16,7 +21,7 @@ private:
|
||||
std::binary_semaphore done{0};
|
||||
Interface interface;
|
||||
public:
|
||||
void Handle(int newsock);
|
||||
void Handle(int newsock, std::string laddr, std::string raddr, int prefix);
|
||||
void RecvMessages(void);
|
||||
void SendMessages(void);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user