From 8341deeb20596400f27440a767ac74c4e0fd0598 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 25 Jan 2025 21:25:36 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 3724364..908263f 100644 --- a/server.py +++ b/server.py @@ -29,7 +29,7 @@ def isalphanumeric(text:str): def getident(hostt:str, clientport:int, ssll:bool): try: identsender = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - identsender.timeout = 5 + identsender.settimeout(5) try: identsender.connect((hostt, 113)) except: