
@Roman:
I took a quick look at Jarl Lindrud RCF library. It is in some ways
similar but very different in others. The separate client/server
concept differs a lot from the node-concept used in my library. I
didn't quite understand how objects are handled and addressed in RCF
and if it is possible to have two objects of the same type at one
server and addressable by one client.
Marshalling of in/out variables is one part that is missing in my
library. This would be nice for synchronous calls, but could be very
bad for asynchronous calls.
Using macros to register the functions may be nice for users, but it
should not be necessary (which it is for RCF). It provides a proxy
class for making the calls to remote functions, which is nice to have.
One thing i don't like about RCF is, that it needs the program-wide
initialization of the framework in contrast to instancing nodes in my
library. Another thing is the dependence on TCP connections, sometimes
you need to connect clients where the IP is not available (e.g. via
RS232 over optical coupling).
After all RCF looks like a more specialized approach compared to my
library, but RCF looks like it's easier to get started with than my
library so far - something that needs improvement.
Do you have experience with using RCF?
@Jens Weller
The type of serialization is selected by a typedef:
#include