From 9c1d3ea5dd8f5095fff4be09b671389a2ed1d508 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 24 Nov 2023 22:42:47 +0800 Subject: [PATCH] 1 --- server/robotserver/GGListener.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/robotserver/GGListener.cc b/server/robotserver/GGListener.cc index fc9fd977..0e096f87 100644 --- a/server/robotserver/GGListener.cc +++ b/server/robotserver/GGListener.cc @@ -11,7 +11,6 @@ #include #include "app.h" -#include "jsondatamgr.h" #include "handlermgr.h" class GCClientSession: public a8::MixedSession @@ -103,7 +102,7 @@ void GGListener::Init() tcp_listener_->on_error = GSListeneron_error; tcp_listener_->bind_address = "0.0.0.0"; - tcp_listener_->bind_port = JsonDataMgr::Instance()->GetConf()->At("listen_port")->AsXValue(); + //tcp_listener_->bind_port = JsonDataMgr::Instance()->GetConf()->At("listen_port")->AsXValue(); tcp_listener_->Open(); f8::MsgQueue::Instance()->RegisterCallBack