Administrator
2023-11-13 3b780d07ed8c39cf43daa1e6eba22ae2aeb1c6a9
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')
    # -------------------------正式地址-------------------------------
    # -------------------------正式地址B类-------------------------------
    api.RegisterMulticast("udp://224.224.1.19:7880", None, "")
    # -------------------------正式地址A类-------------------------------
    # api.RegisterMulticast("udp://224.224.1.9:7880", None, "")
    # 启动接口
    api.Init()