XAsioTCPServer::~XAsioTCPServer() { m_controller.removeService( this ); stopAccept(); }
void Server::handleAcceptError(const boost::system::error_code& ec) { std::cout << "ERROR error reason:" << ec.value() << " " << ec.message() << std::endl; stopAccept(); }