A Network/LAN chat client using Socket programming deisnged in Python on a Linux system.
:So, untested on Windows, but might work.
-Contains 2 Files:
- server.py
The main file that needs to be started on a console first.
Contains a variable called "PORT" which can be individually modified based on
whatever PORT on the server is free. - client.py
This file needs to be startes on any and all the clients which want to connect to the server running the Polling-chat client
Usage:
:~$ python client.py
EG: :$ python client.py localhost 5500
PS: default port is 5500.
To End: Either Disconnect each client individually, and they will leave the server connection list
To terminate the whole setup, on the Server machine enter "Ctrl+c" it sends an interrupt that
disconnects the whole service killing it.