Giter VIP home page Giter VIP logo

tcpdemo's Introduction

# TcpDemo
基于Qt开发的简单tcp通信Demo;
版本:Qt 5.12.2、使用MinGW编译;
介绍:A(服务端)、B(客户端);
1、在程序A中点“Start”按钮,程序B会由Waiting状态转到启动计算状态,程序A与程序B的通讯方式是QTcpSocket;
2、程序B启动计算时,数字由最初1开始自动累加1,在自己程序界面中显示当前累加计算的结果。计算显示过程使用Thread线程完成;
3、在程序A中点“Stop”,程序B自动停止计算,程序A中显示程序B停止时计算的累加结果。再次点击Start恢复;
4、任何状态下,点击程序A或程序B中的任意一个“EXIT”按钮,两个程序一起退出。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.