diff options
Diffstat (limited to 'examples/Connection/non_blocking/test_sock_acceptor.cpp')
-rw-r--r-- | examples/Connection/non_blocking/test_sock_acceptor.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/examples/Connection/non_blocking/test_sock_acceptor.cpp b/examples/Connection/non_blocking/test_sock_acceptor.cpp deleted file mode 100644 index 56cb066eb84..00000000000 --- a/examples/Connection/non_blocking/test_sock_acceptor.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// ACE_SOCK Server. -// $Id$ - - -#include "ace/SOCK_Acceptor.h" -#include "ace/INET_Addr.h" -#include "CPP-acceptor.h" - -typedef Svc_Handler<ACE_SOCK_STREAM> SVC_HANDLER; -typedef IPC_Server<SVC_HANDLER, ACE_SOCK_ACCEPTOR> IPC_SERVER; - -int -main (int argc, char *argv[]) -{ - // Perform Service_Config initializations - ACE_Service_Config daemon (argv[0]); - - IPC_SERVER peer_acceptor; - - if (peer_acceptor.init (argc, argv) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "init"), -1); - - return peer_acceptor.svc (); -} - |