18#ifndef TRINITYCORE_WORLD_SOCKET_MGR_H
19#define TRINITYCORE_WORLD_SOCKET_MGR_H
56#define sWorldSocketMgr WorldSocketMgr::Instance()
virtual void OnSocketOpen(IoContextTcpSocket &&sock, uint32 threadIndex)
virtual bool StartNetwork(Asio::IoContext &ioContext, std::string const &bindIp, uint16 port, int threadCount)
virtual void StopNetwork()
virtual NetworkThread< SocketType > * CreateThreads() const =0
Manages all sockets connected to peers and network threads.
int32 _socketSystemSendBufferSize
SocketMgr< WorldSocket > BaseSocketMgr
int32 _socketApplicationSendBufferSize
std::size_t GetApplicationSendBufferSize() const
boost::asio::basic_stream_socket< boost::asio::ip::tcp, boost::asio::io_context::executor_type > IoContextTcpSocket