#include #include "socket.h" #include "logger.h" int main(int argc, char* argv[]) { QCoreApplication a(argc, argv); Logger mylog("thetest8.log"); mylog.clearLog(); Logger::makeStartingLine(); UdpSocket server; UdpSocket client; client.sayHello(); server.sayHello(); client.sayMsg("Msg1C"); server.sayMsg("Msg1S"); return a.exec(); }