1
This commit is contained in:
parent
7d1c50e201
commit
3e04a5b9a3
@ -103,7 +103,8 @@ static void GSListeneron_error(a8::TcpListener*, int type, int errorid)
|
||||
void GGListener::Init()
|
||||
{
|
||||
tcp_listener_ = std::make_shared<a8::TcpListener>();
|
||||
tcp_listener_->on_create_client_socket = CreateGameClientSocket;
|
||||
//tcp_listener_->on_create_client_socket = CreateGameClientSocket;
|
||||
tcp_listener_->RegisterSessionClass<GCClientSession>();
|
||||
tcp_listener_->on_error = GSListeneron_error;
|
||||
|
||||
tcp_listener_->bind_address = "0.0.0.0";
|
||||
|
2
third_party/a8
vendored
2
third_party/a8
vendored
@ -1 +1 @@
|
||||
Subproject commit 73a4706673d6b773ca2e5cf102c45e0f2245aa5b
|
||||
Subproject commit 56f576e60d471f0390d12172cf2aa499c0772e93
|
Loading…
x
Reference in New Issue
Block a user