summaryrefslogtreecommitdiffstats
path: root/tests/arthur/baselineserver/src/main.cpp
blob: 46048db9080a7a47b57e334646ece4ff59c10966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <QtCore/QCoreApplication>
#include "baselineserver.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    BaselineServer server;
    if (!server.listen(QHostAddress::Any, BaselineProtocol::ServerPort)) {
        qWarning("Failed to listen!");
        return 1;
    }

    qDebug() << "Listening for connections";
    return a.exec();
}