This script emulates a chat room using the TCP protocol and the socket module with his low-level networking interface and the thread module to create multiple clients.
First set up the server :
python3 helpers/server.py
And run the client script on another terminal :
python3 client.py
ⓘ Important:
- You can change the server address and the port editing the
settings/config.json
file. - To run this properly remember to start the server first.
- Do not change the unicode setting if you're using the AF_INET socket type.