a minimal java chat server and client
key features:
- you can chat with others
- only one room
- password-protected accounts
- no encryption
- no error handling
This was created during a project at uni in one of the first semesters and has very messy (and probably buggy) code.
There also is a follow-up application with more features and a gui. I might someday upload that too.
user commands:
!online #lists other connected users
!connection #checks if the connection is still alive
!quit #closes the socket
start the server:
javac ChatServer.java
java ChatServer <port>
start the client:
javac ChatClient.java
java ChatClient <ip> <port>
vanilla java