A mini-project using java.net sockets and AWT.
it was an assignement given to us during a Distributed Applications session on our second year at INSAT, as an introduction to Java's sockets, threads and AWT.
The project consists of a simple client/server application.
The clients will be able to chat with eachother using an interface implemented with AWT.
The sockets will represent the connection between the client program and the server program.
Notes:
- In case of n clients, when the clienti send a message, serverThreadi will broadcast the message to all of the other n-1 serverThreads.
- Whenever a client joins or leaves, all of the other clients will get notified.
- To leave, all you have to do is type quit.
- If you close the chat window, the others will be notified that you left.
- Execute the server.Main.
- Execute as many client.Client as you wish.
- Don't forget to enjoy!