Add tests for the tcp server/client

This commit is contained in:
Carl Philipp Klemm 2026-04-09 16:52:58 +02:00
parent 3fd27905ee
commit 0fd50eb227
3 changed files with 373 additions and 0 deletions

View file

@ -16,6 +16,8 @@ public:
TcpServer(QObject* parent = nullptr);
virtual bool launch(const QHostAddress &address = QHostAddress::Any, quint16 port = 0) override;
virtual void sendJson(const QJsonObject& json) override;
quint16 getServerPort() const { return server.serverPort(); }
bool isListening() const { return server.isListening(); }
signals:
void sigRequestSave();