communicate: basic server and client communicate.
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include "Server.h"
|
||||
#include <Util.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
QCoreApplication app(argc, argv);
|
||||
|
||||
Util::InitLogger("frelayServer.log", "frelayServer");
|
||||
qInstallMessageHandler(Util::ConsoleMsgHander);
|
||||
|
||||
Server server;
|
||||
if (!server.startServer(9009)) {
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user