trade/huaxin/trade_server.py
@@ -12,6 +12,7 @@ import dask import psutil import huaxin_api.constant from line_profiler import LineProfiler import constant @@ -386,7 +387,8 @@ class OutsideApiCommandCallback(outside_api_command_manager.ActionCallback): @classmethod def __send_response(cls, data_bytes): sk = SendResponseSkManager.create_send_response_sk() sk = SendResponseSkManager.create_send_response_sk(addr=huaxin_api.constant.SERVER_IP, port=huaxin_api.constant.SERVER_PORT) try: data_bytes = socket_util.load_header(data_bytes) sk.sendall(data_bytes)