feat(Core/Socket): make world OnSocketAccept like auth (#8946)

This commit is contained in:
Kargatum
2021-11-05 00:42:34 +07:00
committed by GitHub
parent 8ac01da463
commit 21214d12c8
2 changed files with 6 additions and 6 deletions

View File

@@ -50,6 +50,11 @@ protected:
NetworkThread<WorldSocket>* CreateThreads() const override;
static void OnSocketAccept(tcp::socket&& sock, uint32 threadIndex)
{
Instance().OnSocketOpen(std::forward<tcp::socket>(sock), threadIndex);
}
private:
int32 _socketSystemSendBufferSize;
int32 _socketApplicationSendBufferSize;