Files
frelay/Server/main.cpp

17 lines
296 B
C++
Raw Normal View History

2025-06-14 09:27:50 +08:00
#include <QCoreApplication>
#include "Server.h"
int main(int argc, char* argv[])
{
QCoreApplication app(argc, argv);
Server server;
if (!server.startServer(9009)) {
return 1;
}
qDebug() << "TCP server is running. Press Ctrl+C to exit...";
return app.exec();
}