test_spipe_connector.cpp

来自「最新的版本ACE-5.6.8,刚从外文网上搬下,与大家分享.」· C++ 代码 · 共 22 行

CPP
22
字号
// $Id: test_spipe_connector.cpp 80826 2008-03-04 14:51:23Z wotte $

// ACE_SPIPE Client.

#include "SPIPE-connector.h"

ACE_RCSID(blocking, test_spipe_connector, "$Id: test_spipe_connector.cpp 80826 2008-03-04 14:51:23Z wotte $")

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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?