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

// ACE_SPIPE Client.

#include "SPIPE-connector.h"

ACE_RCSID(blocking, test_spipe_connector, "$Id$")

int 
ACE_TMAIN (int argc, ACE_TCHAR *argv[])                       
{                                                       
  // Perform Service_Config initializations
  ACE_Service_Config daemon (argv[0]);

  IPC_Client peer_connector;

  if (peer_connector.init (argc, argv) == -1)
    ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("init")), -1);
  
  return peer_connector.svc ();
}