Introduction - If you have any usage issues, please Google them yourself
Java-based source of imitation QQ chat program, test run when you' re userInfo.properties copied to the C root directory. Storage and server connection on the corresponding Socket, the role is saved between server and client flow, ease server to each client sends a message back. SocketListener inner class: listen client has to connect to the server and the client' s Socket passed to HandleSocket for processing, while the client is stored in the List, which clientConnection middle. HandleSocket inner classes: Handling a Socket, receiving a message sent from the Client and the server returned intact to all clients, the client performs message filtering.