From 3b780d07ed8c39cf43daa1e6eba22ae2aeb1c6a9 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 13 十一月 2023 13:35:06 +0800 Subject: [PATCH] A类服务器切换 --- huaxin_client/l1_client.py | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/huaxin_client/l1_client.py b/huaxin_client/l1_client.py index 530a410..ef59ee2 100644 --- a/huaxin_client/l1_client.py +++ b/huaxin_client/l1_client.py @@ -11,6 +11,12 @@ from huaxin_client import tool, constant from log_module.log import logger_system, logger_local_huaxin_l1, logger_l2_codes_subscript +################B绫�################## +# ADDRESS = "udp://224.224.1.19:7880" + +################A绫�################## +ADDRESS = "udp://224.224.1.9:7880" + level1_data_dict = { } @@ -194,9 +200,12 @@ # api.RegisterNameServer('tcp://224.224.3.19:7888') # api.RegisterNameServer('tcp://10.0.1.101:52370,tcp://10.0.1.101:62370') - # -------------------------姝e紡鍦板潃------------------------------- + # -------------------------姝e紡鍦板潃B绫�------------------------------- api.RegisterMulticast("udp://224.224.1.19:7880", None, "") + # -------------------------姝e紡鍦板潃A绫�------------------------------- + # api.RegisterMulticast("udp://224.224.1.9:7880", None, "") + # 鍚姩鎺ュ彛 api.Init() -- Gitblit v1.8.0