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/TCPSocketServer.hpp
Konstantin Lampalzer 1d91792c56 Update
2022-10-05 23:13:40 +02:00

19 lines
315 B
C++

#ifndef COMPLIB_SERVER_TCPSOCKETSERVER_HPP
#define COMPLIB_SERVER_TCPSOCKETSERVER_HPP
#include <thread>
#define SOCKET_BUFFER_SIZE 128
class TCPSocketServer {
public:
TCPSocketServer();
private:
[[noreturn]] void server_loop();
std::thread server_thread;
};
#endif //COMPLIB_SERVER_TCPSOCKETSERVER_HPP