This commit is contained in:
2026-07-25 23:51:39 -05:00
parent 815c77decb
commit da484bd853
4 changed files with 176 additions and 105 deletions

View File

@@ -6,11 +6,13 @@
// TcpBase contains common tcp I/O operations for the tcp client and tcp server
// Abstracts away the networking methods into an accordion common protocol (ACP)
class TcpBase {
class TcpBase : public QObject{
Q_OBJECT
public:
TcpBase(LoggerService* logger);
TcpBase(LoggerService* logger, QObject* parent = nullptr);
~TcpBase();
// read from a tcp socket, blocking