13 #ifndef __NET_PERFORMANCE_H__
14 #define __NET_PERFORMANCE_H__
44 void registerRemoteEvent(
62 eventReadState myReadState;
80 const hboost::system::error_code& ec,
83 if (!ec && socket.is_open())
85 auto handler = UTmakeShared<net_PacketConnectionHandler>(
86 myConnectionManager, std::move(socket));
87 myConnectionManager.
start(handler);
98 return myPacketListener ? myPacketListener->port() : 0;
102 void startListener_(ASIO_IOContext::executor_type exc);
109 #endif // __NET_PERFORMANCE_H__
hboost::asio::ip::tcp::socket ASIO_TCPSocket
void start(int initial_port, int max_port_range=-1, bool use_system_port=false, const ASIO_IPAddress &address=ASIO_IPAddressV4())
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
hboost::asio::ip::tcp::acceptor ASIO_TCPAcceptor