The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
RPCBind.h File Reference

Go to the source code of this file.

Macros

#define pszProtocolSequenceTCP   "ncacn_ip_tcp"
#define pszProtocolSequenceNP   "ncacn_np"

Functions

void __stdcall Bind (const char *NetworkAddress, const char *EndPoint, const char *protocolSequence)
void __stdcall UnBind (void)

Macro Definition Documentation

#define pszProtocolSequenceNP   "ncacn_np"
#define pszProtocolSequenceTCP   "ncacn_ip_tcp"

Definition at line 11 of file RPCBind.h.


Function Documentation

void __stdcall Bind ( const char *  NetworkAddress,
const char *  EndPoint,
const char *  protocolSequence 
)

This binds to the interface before the RPC calls can connect

Parameters:
NetworkAddress- machine name or tcpip address
EndPoint- destination port/pipe etc. on the machine
protocolSequence- protocol type

Definition at line 53 of file RPCFuncsU.cpp.

Referenced by WinampRemote::Client::ClientBinder::ClientBinder(), TdmRemote::DoBind(), main(), and ServerTester::testServer().

void __stdcall UnBind ( void  )

unbinds from RPC

Definition at line 70 of file RPCFuncsU.cpp.

Referenced by Bind(), TdmRemote::LocateServersExecute(), main(), and WinampRemote::Client::ClientBinder::~ClientBinder().