
Interesting. Have you checked that there isn't something available already on asio...not sure, but I think someone might have already done something
Hi, Thaks for your replies. like
this. That said, AFAIK it's not in Boost so this would be a nice extension.
Thanks to Paolo Coletta's reply, I found the CodeProject article by Jarl Lindrud "RCF - Interprocess communication for C++". It is similar to what I suggested. Since it is not in a Boost library form Paulo suggests possible integration between this library and boost.interface.
Have a look at Boost.Interface
http://www.cdiggins.com/bil.html
This library was never fully proposed for Boost, but it has alot of the same ideas/needs as you do w.r.t. binding with C++ interfaces.
Thanks for making my attention on this. After looking at the article, I understood that the Boost.Interface library will releive me from the burden of writing a custom Macro library. However I couldn't find a link on that page to get the source code of that library. Please tell me where can I get the source code.
Also, a totally different way to go would be to support an IDL like language and write a tool to generate the needed C++.
Yes. Internet Communication Engine (http://www.zeroc.com/ice.html) (Where I got the inspiration for this project.) uses an IDL. Since this is a C++ only project I thought I can avoid the additional step of code generation by using Macros. ( I likek the macro bindings in boost.python. It is so simple & smart than SWIG.)
What do you have in mind for the transport protocol? Both TCP and UDP. (Option is given to the user.)
Thanks! Salinda