• 大小: 79KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-24
  • 语言: 其他
  • 标签: QT  UDP  

资源简介

qt实现C/S的udp通信实例,保护客户端和服务器。

资源截图

代码片段和文件信息

#include “udpclient.h“
#include 


int main( int argc char **argv )
{
    QFont font(“ZYSong18030“12);
    QApplication::setFont(font);
    
    QApplication a( argc argv );
    QTranslator translator(0);
    translator.load(“udpclient_zh““.“);
    a.installTranslator(&translator);    
    
    UdpClient *udpclient = new UdpClient();
    udpclient->show();
    return a.exec();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2005-06-29 01:26  udpbroadcast\
     目录           0  2011-09-24 17:01  udpbroadcast\client\
     文件         401  2008-04-20 23:11  udpbroadcast\client\main.cpp
     文件        8017  2008-05-13 01:15  udpbroadcast\client\Makefile
     文件        5269  2008-05-13 01:02  udpbroadcast\client\Makefile.Release
     文件       31697  2008-05-13 01:15  udpbroadcast\client\udpclient
     文件        1300  2008-04-29 23:36  udpbroadcast\client\udpclient.cpp
     文件       35840  2008-05-13 01:15  udpbroadcast\client\udpclient.exe
     文件         421  2008-04-29 23:36  udpbroadcast\client\udpclient.h
     文件         202  2008-05-13 01:17  udpbroadcast\client\udpclient.pro
     文件         477  2008-03-11 17:58  udpbroadcast\client\udpclient_zh.qm
     文件         600  2008-03-11 17:58  udpbroadcast\client\udpclient_zh.ts
     目录           0  2011-09-24 17:01  udpbroadcast\server\
     文件         401  2008-04-20 23:11  udpbroadcast\server\main.cpp
     文件        7955  2008-05-13 01:14  udpbroadcast\server\Makefile
     文件        5251  2008-05-13 01:03  udpbroadcast\server\Makefile.Release
     文件       32317  2008-05-13 01:14  udpbroadcast\server\server
     文件       36864  2008-05-13 01:11  udpbroadcast\server\server.exe
     文件       32317  2008-04-29 23:37  udpbroadcast\server\udpserver
     文件        1517  2008-04-29 23:36  udpbroadcast\server\udpserver.cpp
     文件         497  2008-05-13 00:34  udpbroadcast\server\udpserver.h
     文件         202  2008-05-13 00:31  udpbroadcast\server\udpserver.pro
     文件         529  2008-02-29 18:00  udpbroadcast\server\udpserver_zh.qm
     文件         847  2008-02-29 18:00  udpbroadcast\server\udpserver_zh.ts

评论

共有 条评论