Core/NetworkIO: Use reactor style sending on linux to reduce locking overhead
This commit is contained in:
1 parent
a2ba49afa4
commit
e0ce4528c5
14 files changed
+890
-307
No files matched your search
@@ -227,7 +227,7 @@ void WorldSession::SendPacket(WorldPacket* packet)
|
||||
|
||||
sScriptMgr->OnPacketSend(this, *packet);
|
||||
|
||||
m_Socket->AsyncWrite(*packet);
|
||||
m_Socket->SendPacket(*packet);
|
||||
}
|
||||
|
||||
/// Add an incoming packet to the queue
|
||||
|
||||
Reference in new issue
Block a user