Example #1
0
	XAsioTCPServer::~XAsioTCPServer()
	{
		m_controller.removeService( this );

		stopAccept();
	}
Example #2
0
void Server::handleAcceptError(const boost::system::error_code& ec)
{
    std::cout << "ERROR error reason:" << ec.value() << " "  << ec.message() << std::endl;
    stopAccept();
}