I have a Python application which opens a simple TCP socket to communicate with another Python application on a separate host. Sometimes the program will either error or I w
Assume your socket is named s... you need to set socket.SO_REUSEADDR on the server's socket before binding to an interface... this will allow you to immediately restart a TCP server...