To connect to the server from your C++ program:
// Set the Server and Port properties to determine where to connect to
RPCInst.RPCBPropSet("Server", server);
RPCInst.RPCBPropSet("ListenerPort", "9200");
// Set Connected property to True, to connect
RPCInst.RPCBPropSet("Connected", "1");
// If still connected, can continue.
RPCInst.RPCBPropGet("Connected", Value);
if (atoi(Value) != 1) return false;
// Create Context for your application's option (in this
// case, XWB EGCHO).
result = RPCInst.RPCBCreateContext("XWB EGCHO");
return result;