Socket_chat
tags: socket QT
- 1. Development platform
- 2.Basic functions
- 3. Implementation principle
Development platform
> Based on QT5.8.0 MINGW version, the development and running environment is win 64bit
Basic functions
1. Tools include server and client;
2. It has the functions of user registration, login, and password retrieval (based on TCP protocol); 3. If two users are online at the same time and use point-to-point communication to chat, the information does not need to be transferred through the server, and the server will not save it. (based on TCP protocol); 4. Support offline messages (based on TCP protocol); 5. Support point-to-point reliable file transmission (based on UDP protocol); 6. Data stored on the server needs to be strongly encrypted; 7. Support no less than two groups of users to communicate and transfer files online at the same time; 8. File transfer has good performance and can make full use of network bandwidth;
expected functionality
The server side is completed on the Linux machine and deployed to the cloud host.
The server process is made into a service process of the host
The database stores user information and supports user registration to retrieve passwords. It is expected to support password retrieval via email.
File transfer is changed to TCP, using multi-threaded transmission
Support friend mechanism and picture sending
Store offline messages in the database and read the database