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

		stopAccept();
	}
예제 #2
0
파일: Server.cpp 프로젝트: longshadian/estl
void Server::handleAcceptError(const boost::system::error_code& ec)
{
    std::cout << "ERROR error reason:" << ec.value() << " "  << ec.message() << std::endl;
    stopAccept();
}