65 SocketMgr< WorldSocket > BaseSocketMgr
Definition: WorldSocketMgr.h:35
Definition: AsyncAcceptor.h:28
virtual bool StartNetwork(boost::asio::io_service &service, std::string const &bindIp, uint16 port, int threadCount)
Definition: SocketMgr.h:38
int32 _socketSendBufferSize
Definition: WorldSocketMgr.h:57
AsyncAcceptor * _instanceAcceptor
Definition: WorldSocketMgr.h:56
virtual NetworkThread< SocketType > * CreateThreads() const =0
virtual void OnSocketOpen(tcp::socket &&sock, uint32 threadIndex)
Definition: SocketMgr.h:87
bool _tcpNoDelay
Definition: WorldSocketMgr.h:59
Definition: SocketMgr.h:30
Manages all sockets connected to peers and network threads.
Definition: WorldSocketMgr.h:33
Definition: WorldSocket.h:70
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
uint16_t uint16
Definition: Define.h:151
virtual void StopNetwork()
Definition: SocketMgr.h:63
int32 m_SockOutUBuff
Definition: WorldSocketMgr.h:58
#define TC_GAME_API
Definition: Define.h:134