Skip to content

SongChaeYoung98/qt-c-tcp-chat-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qt-c-tcp-chat-application

Qt C++ TCP Chat Application (Client & Server Full-Duplex)

Demonstration

1.

1

  • Enter the Port Number in 'MyChatServer' first and Press the 'Connect' Button.
  • Then Enter the Host Address and the Port Number Assigned to the Server in 'MyChatClient'.

2.

2

  • Server and Customer Chatting to Each Other.

3.

3

  • When the Server or Customer Presses the 'Disconnect' Button, the 'Caution' Message Box Pops Up.

4.

4

  • A Successful Reconnection.

Project Structure

MyChatClient.fldr
├── MyChatClient.pro : pro file, add 'QT += network'
├── MyChatClient.pro.user
├── MyChatClient.pro.user.65e3a51
├── main.cpp
├── widget.cpp : main code
├── widget.h : header file
└── widget.ui : ui
MyChatServer.fldr
├── MyChatServer.pro : pro file, add 'QT += core gui network'
├── MyChatServer.pro.user
├── MyChatServer.pro.user.65e3a51
├── main.cpp
├── widget.cpp : main code
├── widget.h : header file
└── widget.ui : ui
.gitattributes
LICENSE
README.md

include

  • QtWidgets
  • QMessageBox
  • QTime
  • QTcpSocket
  • QTcpServer

Version

  • Qt : 5.10.1
  • qmake : 3.1

Language

  • C++

Development Environment

  • Qt Creater 4.5.1 (Community)
  • CPU : 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
  • GPU : NVIDIA GeForce RTX 3050
  • OS : Window 11 Pro x64
  • RAM : 32 GB

About

Qt C++ TCP Chat Application (Client & Server Full-Duplex)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published