#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("MsgC"); server.SayMsg("MsgS"); return a.exec(); }