mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
16 lines
293 B
C++
16 lines
293 B
C++
#pragma once
|
|
|
|
#include <TCPSocket/TCPServer.hpp>
|
|
|
|
class ModelecServer : public TCPServer {
|
|
|
|
public:
|
|
void acceptConnections() override;
|
|
|
|
~ModelecServer() override;
|
|
|
|
explicit ModelecServer(int port);
|
|
|
|
void handleMessage(const std::string& message, int clientSocket) override;
|
|
};
|