I tried to make a client socket connection but i always have the same error 60 "Operation timed out". I tried to put several timeouts and a None value, and setblocking to true. But ever the same error.
I need a client socket sending data for EVER.
My code is:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
#s.settimeout(3600*24) # In seconds. One attempt
#s.settimeout(None) # Other attempt
#s.setblocking(1) # Other attempt
total_sent = s.send(self.data)