This project contains a distributed chat system which was made for the Distributed Systems module. Source code for chat servers that can handle client request and server to server communication are in this repo
- Executable server file as
server.jar
and server configuration file asconf.txt
are provided. - Open a command promt in directory which contain
server.jar
. - Start server using code
java -jar server.jar <server_id> <path_to_conf_file>
.
As example
java -jar server.jar s1 conf.txt
- In here
<server_id>
is server id, which same as in the server id inconf.txt
file <path_to_conf_file>
is path to configuration file
- In here