i want to execute the following simple server code:
import socket s = socket.socket() # Create a socket object host = socket.gethostname() # Get local
Try set the SO_REUSEADDR option to the socket:
SO_REUSEADDR
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)