working commit
This commit is contained in:
+4
-1
@@ -7,11 +7,14 @@
|
||||
#include <string>
|
||||
#include <mutex>
|
||||
|
||||
#include <interface.hpp>
|
||||
|
||||
class SocketHandler {
|
||||
private:
|
||||
int sock;
|
||||
std::mutex sockMtx;
|
||||
std::mutex intMtx;
|
||||
std::binary_semaphore done{0};
|
||||
Interface interface;
|
||||
public:
|
||||
void Handle(int newsock);
|
||||
void RecvMessages(void);
|
||||
|
||||
Reference in New Issue
Block a user