Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (13 sloc) 0.265 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include <QObject>

class QTcpServer;

class Server : public QObject {
  Q_OBJECT

  public:
    Server(QObject *parent);
    bool start();
    quint16 server_port() const;

  public slots:
    void handleConnection();

  private:
    QTcpServer *m_tcp_server;
};

Something went wrong with that request. Please try again.