登录
首页 » Qt » 基于TCP传输的Qt代码,server和client

基于TCP传输的Qt代码,server和client

于 2022-03-19 发布 文件大小:14.78 kB
0 132
下载积分: 2 下载次数: 1

代码说明:

简单的TCP传输代码,可以作为test用server端监听端口,client端输入要通信的IP和port,与server端进行连接,socket建立成功,可以建立通信,相互传送数据

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • magictower
    magictower 魔塔RPG游戏,基于QT编写。(测试环境 win7 + qt 4.5.3) 本项目可用跨平台小娱乐,学习QT4。 1、Windows 直接VS + QT 环境生成VC project 工程编译; 2、Linux gcc + QT 环境编译即可。(Magictower RPG magic tower game, based on the preparation of QT. (test environment win7+ 4.5.3 QT) this project can be cross platform for small entertainment, learning QT4. 1, Windows direct VS+ QT environment to generate project VC project compile 2, GCC QT+ Linux environment can be compiled.)
    2021-02-24 00:19:39下载
    积分:1
  • 桌面截屏并保存
    使用Qt对整个屏幕进行截图,保存到任意位置,还能将截到的图片粘贴到画图板
    2022-08-24 20:11:27下载
    积分:1
  • qt中使用udp收发数据
    qt中使用udp收发数据的例子有需要的可以借鉴下
    2022-09-20 19:10:03下载
    积分:1
  • qt 实现的故障树
    qt 实现的故障树 void FaultTree::calcPosition(){    int maxLayer = 0;    //获取最大层数    for (int index = 0; index < m_list.size(); ++index)    {        if (m_list.at(index)->layer() > maxLayer)            maxLayer = m_list.at(index)->layer();    }    //计算最大宽度    int maxWidth = 0, count;    for (int layer = 1; layer < maxLayer+1; ++layer)    {        count = 0;        for (int index = 0; index < m_list.size(); ++index)        {            if (m_list.at(index)->layer() == layer)                count++;        }        if (count > m
    2022-08-26 04:01:10下载
    积分:1
  • Qt chat聊天程序源码(含毕业设计说明文档)
    Qt chat聊天程序源码(含毕业设计说明文档)
    2020-04-30下载
    积分:1
  • QT文本编辑器
    QT文本编辑器,看图
    2022-03-16 04:22:30下载
    积分:1
  • CPP-GUI-Qt-4
    C++ GUI Qt 4编程(第二版)中文高清PDF扫描版(C++ GUI Qt 4 Programming (Second Edition) Chinese HD PDF scan version)
    2013-05-20 13:37:16下载
    积分:1
  • QtCalculator
    手机平台上使用的计算器源码,QT编码,简易计算器(Calculator for moilephone,base in QT)
    2010-06-04 08:47:56下载
    积分:1
  • udprecv
    说明:  基于qt的udp组播简易接收端,可以用来学习一下udpsocket指令(Simple receiver of UDP multicast based on QT)
    2020-06-20 08:00:01下载
    积分:1
  • QtmodbusTCP
    Qt5自带的modbusTCP类实现的TCP modbus通信,程序包含客户端和服务器,开发环境为ubuntu16.04+Qt5.6.1,如打不开服务器,请将编译出的程序用sudo运行。(Qt5 comes with the modbusTCP class to achieve the Modbus TCP communication, the program contains the client and server, the development environment for ubuntu16.04+Qt5.6.1, such as the server does not open, please compile the program run with sudo.)
    2021-04-14 20:38:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载