This repository has been archived on 2025-06-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compLIB/server_v2/include/communication/UnixSocketServer.hpp
2022-05-22 02:30:07 +02:00

20 lines
354 B
C++

#ifndef COMPLIB_SERVER_UNIXSOCKETSERVER_HPP
#define COMPLIB_SERVER_UNIXSOCKETSERVER_HPP
#include <thread>
#define SOCKET_PATH "/tmp/compLib"
#define SOCKET_BUFFER_SIZE 64
class UnixSocketServer {
public:
UnixSocketServer();
private:
[[noreturn]] void server_loop();
std::thread server_thread;
};
#endif //COMPLIB_SERVER_UNIXSOCKETSERVER_HPP