simple socket messager (proof of concept)
This is a simple proof of concept written with chat GPT. you should put client.py, server.py and socketstart.py all in the same folder. Run socketstart.py which should initiate the server and client and do any open/close of sockets
The killswitch for the server is the connection of a second client This in turn sends a kill switch to the first client neatly closing all the messaging instances before killing the server and sockets making it platform agnostic.