mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 21:51:29 +00:00
Update console_server_connection.cpp
This commit is contained in:
parent
aa8b0570d6
commit
6b65dd3a00
@ -24,9 +24,7 @@ EQ::Net::ConsoleServerConnection::ConsoleServerConnection(ConsoleServer *parent,
|
|||||||
ClearBuffer();
|
ClearBuffer();
|
||||||
|
|
||||||
m_keepalive = std::make_unique<EQ::Timer>(1000, true, [this](EQ::Timer *t) {
|
m_keepalive = std::make_unique<EQ::Timer>(1000, true, [this](EQ::Timer *t) {
|
||||||
EQ::Net::DynamicPacket clear;
|
m_connection->Write("", 0);
|
||||||
clear.PutUInt8(0, 0);
|
|
||||||
m_connection->Write((const char*)clear.Data(), clear.Length());
|
|
||||||
});
|
});
|
||||||
|
|
||||||
auto addr = m_connection->RemoteIP();
|
auto addr = m_connection->RemoteIP();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user