Simple GUI chat
I'm just trying to use sockets and understanding how they work.
- Edit
settings.cfg
accordingly - Start server
python3 chatserver.py
- Start clients
python3 chat.py
Server stdout log:
$ python3 chatserver.py
Chat server started on 192.168.0.101
192.168.0.101 : connected.
192.168.0.101 : connected.
192.168.0.101 : User1: Hello
192.168.0.101 : User2: Hello, my friend!
192.168.0.101 : User1: How are you doing?
192.168.0.101 : /User1: /clients