Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 754 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 754 Bytes

Distributed Chat Server System

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

Run Chat Server in local machine

  1. Executable server file as server.jar and server configuration file as conf.txt are provided.
  2. Open a command promt in directory which contain server.jar.
  3. Start server using code
    java -jar server.jar <server_id> <path_to_conf_file>.
    As example
    java -jar server.jar s1 conf.txt
    1. In here <server_id> is server id, which same as in the server id in conf.txt file
    2. <path_to_conf_file> is path to configuration file