C: Create Broker Components

To create TRPCBroker components in your C program:

  1. Create a pointer for the TRPCBroker component.

void * RPCBroker; //generic pointer for TRPCBroker component instance

  1. Call the RpcbCreate method to create a TRPCBroker component and return its address into the pointer you created:
    RPCBroker = RPCBCreate(); //create TRPCBroker component instance

Now you can use the pointer to the created Broker component to call its methods.