Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I pass a binding handle as an ordinary parameter in an RPC?

Binding parameter pass RPC
0
Posted

How can I pass a binding handle as an ordinary parameter in an RPC?

0

The binding handle is an opaque type and cannot be marshalled as data. A parameter of type handle_t must be the first parameter and will serve to specify the binding of the RPC; an attempt to use a handle_t as other than the first parameter will be flagged as an error by the IDL compiler. To send a handle from one process to another, convert it to a string binding and pass the string as a parameter.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.