Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 464 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 464 Bytes

A Simple Distributed chat server

  • run below cmd inside the folder containing client.jar
java -jar client.jar -h localhost -p 4444 -i adel -d
  • Set Program Argument on the IDE as bellow replacing the path with your configuration file path
-p "servers.txt" -s "s1"
  • after building the artifact run
java -jar .\out\artifacts\DS_K5s_jar\DS_K5s.jar -p "servers.txt" -s "s1"

OR

java -jar DS_K5s.jar -p "servers.txt" -s "s1"