diff options
Diffstat (limited to 'ACE/examples/C++NPv1/Iterative_Logging_Server.cpp')
-rw-r--r-- | ACE/examples/C++NPv1/Iterative_Logging_Server.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ACE/examples/C++NPv1/Iterative_Logging_Server.cpp b/ACE/examples/C++NPv1/Iterative_Logging_Server.cpp new file mode 100644 index 00000000000..7b7f8959163 --- /dev/null +++ b/ACE/examples/C++NPv1/Iterative_Logging_Server.cpp @@ -0,0 +1,17 @@ +/* +** $Id$ +** +** Copyright 2001 Addison Wesley. All Rights Reserved. +*/ + +#include "ace/Log_Msg.h" +#include "Iterative_Logging_Server.h" + +int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) +{ + Iterative_Logging_Server server; + + if (server.run (argc, argv) == -1) + ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "server.run()"), 1); + return 0; +} |