summaryrefslogtreecommitdiff
path: root/examples/Connection/blocking/test_spipe_acceptor.cpp
blob: 3be8810c22e820bfeab68fecd077896332ab44c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// $Id$

// ACE_SPIPE Server.

#include "SPIPE-acceptor.h"

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 ();
}