#include "ace/Remote_Name_Space.h"
#include "ace/Auto_Ptr.h"
#include "ace/Log_Msg.h"
#include "ace/SString.h"
#include "ace/OS_NS_string.h"
Go to the source code of this file.
Functions | |
ACE_RCSID (ace, Remote_Name_Space,"$Id: Remote_Name_Space.cpp 80826 2008-03-04 14:51:23Z wotte $") 1 int ACE_Remote_Name_Space |
ACE_RCSID | ( | ace | , | |
Remote_Name_Space | , | |||
"$Id: Remote_Name_Space.cpp 80826 2008-03-04 14:51:23Z wotte $" | ||||
) |
Definition at line 7 of file Remote_Name_Space.cpp.
: Remote_Name_Space.cpp 80826 2008-03-04 14:51:23Z wotte $") ACE_BEGIN_VERSIONED_NAMESPACE_DECL int ACE_Remote_Name_Space::open (const ACE_TCHAR *servername, u_short port) { ACE_TRACE ("ACE_Remote_Name_Space::open"); ACE_INET_Addr servaddr; // Initialize Addr if (servaddr.set (port, servername) == -1) return -1; // Connect to Name Server process. if (this->ns_proxy_.open (servaddr) == -1) return -1; return 0; }