This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2013-08-15 14:59:59 +02:00

28 lines
388 B
C++

#ifndef SERVER_H
#define SERVER_H
#include <QObject>
#include <QTcpServer>
class Server : public QObject
{
Q_OBJECT
public:
explicit Server(QObject *parent = 0);
private:
QList<QTcpServer*> m_serverList;
QList<QTcpSocket*> m_clientList;
signals:
public slots:
private slots:
void incomingConnection();
void readPackage();
};
#endif // SERVER_H