Step 1:
python3 -m venv .venv
Step 2:
source ./.venv/bin/active
Step 3:
pip3 install -r requrements.txt -t ./.venv/lib/python3.11/site-packages
Step 4:
python3 server.py
client1:
python3 client.py
client2:
python3 client.py
Finally, enter the ID of the client you want to send a message to and then type and send your message.
Note: If you want to send a message to all existing users, just enter the value -1 and the message will be sent to all users.