This repo contains 2 application for a full client/server application demo
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Here with this project we're going to learn about the basics of network programming in Qt framework. This repo contains 2 projects one for client application and the other act as the server. Here we focus on TCP protocol and in future I'll cover how to use UDP for communication also.
- Qt v6.0
To get start with this project I recommand to watch the Demo video on youtube
Download and install Qt on your machine from it's official site (https://www.qt.io/) based on your OS.
- Clone the repo
git clone https://github.com/vRFEducation/QtNetworkProgramming.git
- Open project in Qt Creator
- Run qmake in Build menu (for both client and server)
- Run the Application (both client and server)
Communicating between 2 application on different machine or even connect to a device that support TCP/IP and send data over this protocol, is widely used in industries applications. So here I'm gonna create a clien/server application to show how you can establish such kind of connections between application and trasnfer data in 2-way commuinication.
- Use UDP as the protocol for communication
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Vahid Rahmanifard - linkedin-url - rahmanifard@live.com
Project Link: https://github.com/vRFEducation/QtNetworkProgramming