certo

codice:
import socket
socket.setdefaulttimeout(numero_secondi)
ciao