1
This commit is contained in:
parent
877ff708c8
commit
9c1d3ea5dd
@ -11,7 +11,6 @@
|
|||||||
#include <f8/udplog.h>
|
#include <f8/udplog.h>
|
||||||
|
|
||||||
#include "app.h"
|
#include "app.h"
|
||||||
#include "jsondatamgr.h"
|
|
||||||
#include "handlermgr.h"
|
#include "handlermgr.h"
|
||||||
|
|
||||||
class GCClientSession: public a8::MixedSession
|
class GCClientSession: public a8::MixedSession
|
||||||
@ -103,7 +102,7 @@ void GGListener::Init()
|
|||||||
tcp_listener_->on_error = GSListeneron_error;
|
tcp_listener_->on_error = GSListeneron_error;
|
||||||
|
|
||||||
tcp_listener_->bind_address = "0.0.0.0";
|
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();
|
tcp_listener_->Open();
|
||||||
|
|
||||||
f8::MsgQueue::Instance()->RegisterCallBack
|
f8::MsgQueue::Instance()->RegisterCallBack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user