There are two parts of this project. Link of client side https://github.com/FOG-ntp/Socket-TCP-MultiThread-Server
Socket packet in Java doesn't support us with thread management so I write some more classes in this project to handle that. I was inspired by socket.io - a library in the other programming language (Javascript). On it, there are many avaiable methods to handle multi-client connect to server.
- Show online users list (update realtime)
- Chatting with global or someone (on general chat box), notice when someone online/offline
- Show online users list
- Chatting with global or someone (on general chat box), notice when someone online/offline