This repository has been archived by the owner on Oct 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
# Instant Messaging APP | ||
# Instant Messaging Application using Qt and C++ | ||
> * A socket programming project implemented in Qt and C++ supporting real-time communication. | ||
> * Developed server and client using Qt in C++ for real-time communication based on TCP protocol. | ||
> * Supported multiple users login at the same time and implemented group chat function for multiple users. | ||
> * Used MySQL in the back-end to store the users’ properties and historical messages. | ||
> * Implemented features for user registration, password reset and change avatar. | ||
## Client | ||
> * Used Qt Widget for the interfaces. | ||
> * Used TCP protocol for the communication. | ||
 | ||
|
||
 | ||
|
||
 | ||
|
||
## Server | ||
> * Used MySQL as the back-end server to store historical messages. | ||
> * Used muduo network library https://github.com/chenshuo/muduo | ||
 | ||
|
||
|
||
## Useage | ||
This project requried server to start on the back end which could start use: | ||
> * bash start.sh | ||
Then the server will run in the backend. User could login to the server and perform functionabilities. | ||
|
||
|
||
|
||
## Server |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! /bin/bash | ||
|
||
while true | ||
do | ||
monitor=`ps -ef | grep main | grep -v grep | wc -l ` | ||
if [ $monitor -eq 0 ] | ||
then | ||
echo "TcpChatRoomServer program is not running, restart it" | ||
./main 2019 | ||
else | ||
echo "TcpChatRoomServer program is running" | ||
fi | ||
sleep 1 | ||
done |