target_server.py 连接断开后尝试重新连接

This commit is contained in:
ranchuan
2024-10-09 14:22:43 +08:00
parent 7cabaa0479
commit 5d172c8b79

View File

@@ -204,6 +204,8 @@ def main():
global _remote_client
global _local_client
while True:
myprint("尝试连接代理服务器")
_remote_client = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
_remote_client.connect(("1.92.113.30",5345))
# thd = threading.Thread(target = remote_client_handler, args = (_remote_client,))