summaryrefslogtreecommitdiff
path: root/examples/echoserver/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echoserver/main.cpp')
-rw-r--r--examples/echoserver/main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/echoserver/main.cpp b/examples/echoserver/main.cpp
new file mode 100644
index 0000000..390cbb0
--- /dev/null
+++ b/examples/echoserver/main.cpp
@@ -0,0 +1,12 @@
+#include <QCoreApplication>
+#include "echoserver.h"
+
+int main(int argc, char *argv[])
+{
+ QCoreApplication a(argc, argv);
+ EchoServer server(1234);
+
+ Q_UNUSED(server);
+
+ return a.exec();
+}