Introduction - If you have any usage issues, please Google them yourself
To achieve similar QQ chat system, multiple users simultaneously online, the users to chat with each other, at the same time save chats
1. The network communication between different hosts (stream-based sockets).
Send message (multithreaded server) Multi-user between each other.
The message is saved on the server s MySQL , and can query chats (JDBC technology).