Er, I have been using QQ for a long time, but I have never had much time and energy to engage in communication. I am sorry. Of course, if you want to do a good job of software and be human, it will take considerable technical effort.
I recently quit my job and took a rest at home for a while. I improved the communication part. Although there are many vulnerabilities, I have successfully completed the fake QQ!
ProgramNot doing well. For the time being, we do not provide source code downloads. We only provide test programs, and the related controls will be released one after another. You can have time to communicate with each other.
NET Technology Exchange Group 1: 57218890 (full)
NET technology exchange group 2: 57219423
NET Technology Exchange Group 3: 112546812
Software introduction:
This program is a C/S structure, including the client and the server. It uses Socket (UDP \ Tcp) communication. Currently, UDP has been used for communication, and the TCP part will be completed later. In the past, I used several communication cases on the Internet. Although the chat communication part is in the form of port sending, Client Login directly operates the database to read and modify data. Although this method is relatively simple, but I don't think it's safe, because the database will be exposed, so there is no security. Therefore, the Data Reading, adding, modification, and deletion operations of this fake QQ are all performed in the form before the port message is sent, and the client does not directly operate the database.
For example, if I want to add a friend:
1. The client sends a message for adding a friend to the server.
2. The server receives the message, processes the message accordingly, and sends the processing information to the client (yes/no)
3. The client receives the processing information returned by the server before performing relevant operations.
Although this method is highly secure, it is not a problem to process messages. I would like to have a deep understanding of my friends who have been communicating with each other. What's more, I am a newbie... so this
It really took me a lot of time and effort
Functions:
1. Implement account registration
2. login: Read the Friends table and friends list
3. add or delete a friend category
4. Search, add, and delete friends
5. friend chat
6. When receiving chat messages, the Avatar blinks and generates prompts and prompts (if the chat window is activated, no prompt is displayed, and the content is displayed directly)
7. Implement the offline message server storage function (offline message users are not yet received upon login, and time will be improved)
8. P2P point-to-point communication has been implemented, but now all messages are in the server transit mode. This function will be combined with the server transit function at a time.
9. view it by yourself
Instance diagram:
User Login:
Server
Main Interface
Show personal data
,
Add group Operation
Add Group
Add friends
Adjustment status
Chat with friends
Chat message prompt displayed in the status bar
Usage
This program supports local, Intranet, and Internet testing.
The homepage attaches data in the aldata folder to the SQL database
Local test:
Change the first line of the serverip. ini configuration file in the alclient \ config folder to 127.0.0.1.
Change the first line of the alconfig. ini configuration file in the alserver \ config folder to set the SQL connection.
Run alserver \ alqqserver.exe server to start the service
Run alclient \ alqqclient.exe to start QQ
Intranet test:
Change the first line of the serverip. ini configuration file in the alclient \ config folder to your intranet IP address.
Change the first line of the alconfig. ini configuration file in the alserver \ config folder to set the SQL connection.
Run alserver \ alqqserver.exe server to start the service
Run alclient \ alqqclient.exe to start QQ
Internet Test
If your server is on an intranet client, perform routing port ing to map port 21134 to the client and disable the Client Firewall.
Change the serverip. ini configuration file in the alclient \ config folder to the Internet IP address of the server address in the first line.
Change the first line of the alconfig. ini configuration file in the alserver \ config folder to set the SQL connection.
Run alclient \ alqqclient.exe to start QQ
Http://www.8timer.com/Software-Source-Code/2011/05/18/ALQQ.html