24#ifndef __WORLDSOCKETMGR_H
25#define __WORLDSOCKETMGR_H
60 return BaseSocketMgr::StartNetwork(ioContext, bindIp, port, threadCount);
69#define sWorldSocketMgr WorldSocketMgr::Instance()
virtual void OnSocketOpen(boost::asio::ip::tcp::socket &&sock, uint32 threadIndex)
virtual void StopNetwork()
virtual NetworkThread< SocketType > * CreateThreads() const =0
Manages all sockets connected to peers and network threads.
int32 _socketSystemSendBufferSize
SocketMgr< WorldSocket > BaseSocketMgr
AsyncAcceptor * _instanceAcceptor
bool StartNetwork(Trinity::Asio::IoContext &ioContext, std::string const &bindIp, uint16 port, int threadCount) override
int32 _socketApplicationSendBufferSize
std::size_t GetApplicationSendBufferSize() const