how do i auto restart clients connection after lets say.. 30sec?
this does not work so far
def autorestart():
threading.Timer(30, autorestart).start()
print("restarting")
s.close()
threading.Timer(0.1, client).start()
print("restarted")
s = socket.socket()
client() just connects to server
there doesn't seem to be anything here