diff --git a/server/wsproxy/GCListener.cc b/server/wsproxy/GCListener.cc index 4daaf25..49f1b5c 100644 --- a/server/wsproxy/GCListener.cc +++ b/server/wsproxy/GCListener.cc @@ -125,6 +125,7 @@ void GCListener::Init() tcp_listener_->bind_address = "0.0.0.0"; tcp_listener_->bind_port = JsonDataMgr::Instance()->GetConf()->At("listen_port")->AsXValue(); tcp_listener_->Open(); + a8::XPrintf("listener_port:%d\n", {tcp_listener_->bind_port}); f8::MsgQueue::Instance()->RegisterCallBack ( IM_HandleRedirect, diff --git a/server/wsproxy/constant.h b/server/wsproxy/constant.h index 8b27483..eae259d 100644 --- a/server/wsproxy/constant.h +++ b/server/wsproxy/constant.h @@ -20,7 +20,7 @@ enum InnerMesssage_e IM_ExecGM, IM_UpStreamDisconnect, IM_UpStreamConnect, - IM_HandleRedirect + IM_HandleRedirect, }; //网络处理对象