RPC framework

Posted on 2011-04-28
Last Modified: 2012-05-11

I need advice what RPC framework use.

I have 3 candidates:
Protocol Buffers, MessagePack, Windows RPC

- Windows only(I am sure about 90% that I stay in windows platform only)
- should compile in Visual Studio C++ without problems
- must have RPC generator (Protocol Buffers is serialization format but it is have some RPC client server generator, i do not know details)
- if i communicate locally i want to use named pipes protocol which is not based on tcp/ip. So firewalll not block it.

What for:
1. App running in user space communicate with NT service. Its send messages in per 2,3 seconds.
2. In future, I want to that App running in users space send messages outside computer to central server.
3. I have few machines with local database. And from other computer i need to access to these databases by RPC.

Question by:lavitz
    LVL 86

    Accepted Solution

    I'd definitely go for Windows RPC in that case. Since you use Visual Studio, you already have everything you need. You'll even find a thourough introduction that uses named pipes at ("RPC Sample Application")

    Author Comment

    What is differents between MS RPC and others?
    LVL 86

    Expert Comment

    Well, first and most important of all, MS RPC is native to Windows and does not require the installation of any libraries.

    Author Comment

    Could I connect .Net WCF to native MS RPC server?
    LVL 86

    Expert Comment

    That's kind of an odd followup in an unmanaged programming zone, but yes - any way to connect .NET to unmanaged code (P/Invoke, COM Interop) will work here to. Also, see ("XML-RPC with WCF")

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
      Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now