Código
import time def conexion() host = 'localhost' port = 8900 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((host, port)) blah blah while True: time.sleep(10) try: conexion() except: pass
|
|||
|
Tema destacado: Introducción a Git (Primera Parte) |
|
|