aboutsummaryrefslogtreecommitdiffstats
path: root/mock-server/main.cpp
blob: 0694e4d0a8f0477337f3fa2fc86adf2235944649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @file   main.cpp
 * @brief  Mock XPL2 server — echoes back on three ports.
 */
#include "EchoServer.h"

#include <QCoreApplication>

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

  new EchoServer (9110, "Command", &app);
  new EchoServer (9111, "Imaging", &app);
  new EchoServer (9112, "Status", &app);

  return app.exec ();
}