- Using MCDataTree pack parameters and save them to stream/memory block.
- Attach the parameters to message and send the message.
- When reply is received, unpack message data to MCDataTree and read "out" parameters and result value.
Can I use MsgConnect to implement Remote Procedure Invocation?
Of course! One of main applications of MsgConnect is remote procedure invocation. To implement this you need to do three simple steps: