Skip to content

Duc-ju/Socket-Multi-Thread-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat app with socket using multi-thread and built by client/server model

There are two parts of this project. Link of client side https://github.com/Duc-ju/Socket-MutilThread-Client

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.

Program functions list

  • Show online users list (update realtime)
  • Chatting with global or someone (on general chat box), notice when someone online/offline

Demo

  • Show online users list Screenshot
  • Chatting with global or someone (on general chat box), notice when someone online/offline Screenshot