This commit is contained in:
aozhiwei 2023-11-24 22:42:47 +08:00
parent 877ff708c8
commit 9c1d3ea5dd

View File

@ -11,7 +11,6 @@
#include <f8/udplog.h>
#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