#include #include "socket.h" int main(int argc, char* argv[]) { QCoreApplication a(argc, argv); UDP_Socket server; UDP_Socket client; client.SayHello(); server.SayHello(); client.SayMsg("Msg"); return a.exec(); }