Пример #1
0
int main(void)
{

	TcpServer *server = new TcpServer();

	server->Start();

	free(server);

	return 0;
}
Пример #2
0
int main() 
{ 
#ifdef _LOG
	Log& log = Log::getInstance();
	log.FileName = "Paradox.log";
	log.MaxFileSize = 300000;
	log.MaxFilesCount = 2;
	log.Initialize();
#endif
	printf("Server start up");
	LOG4CPLUS_DEBUG(Log::getLogger(), "Paradox back-end start up");
	tcpServer.Start();


    return 0;
}