last changes

This commit is contained in:
2020-06-15 22:22:46 +03:00
parent 5f405ca403
commit 259f321df4
53 changed files with 3368 additions and 842 deletions

16
AdServer/client.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include "client.h"
Client::Client(QObject *parent) :
ClientBase(parent)
{
m_socket = new QTcpSocket();
connect(m_socket,SIGNAL(readyRead()),this,SLOT(readData()));
connect(m_socket,SIGNAL(disconnected()),this,SLOT(Disconnection()));
}
void Client::connectToServer(QHostAddress addr)
{
m_socket->connectToHost(addr,44461);
}