2

I could not find any libraries that C provides to use RPC. I need to use RPC in C. Is there a way if there is no library support? I am looking for a non-blocking implementation.

ArjunShankar
  • 23,020
  • 5
  • 61
  • 83
j10
  • 2,009
  • 3
  • 27
  • 44
  • 2
    There are many variants of RPC, from the old Sun variant (now [ONC-RPC](http://en.wikipedia.org/wiki/ONC_RPC)), to modern variants such as [XML-RPC](http://en.wikipedia.org/wiki/Xml-rpc). – Some programmer dude Aug 06 '12 at 10:02
  • 2
    Your question is vague; there is a lot out there on RPC: [http://stackoverflow.com/questions/2526227/c-c-rpc-tutorial-for-linux](http://stackoverflow.com/questions/2526227/c-c-rpc-tutorial-for-linux), or a simple Google search:[http://www.google.com/search?rls=en&q=rpc+in+c](http://www.google.com/search?rls=en&q=rpc+in+c). Could you be more specific in what you are looking for? – cegfault Aug 06 '12 at 10:06
  • 1
    can you make your question more specific? – askmish Aug 06 '12 at 10:09
  • Can some one point me to a link where we have a example of a non-blocking RPC supported on Linux. – j10 Aug 06 '12 at 10:11

2 Answers2

1

i made good progress with XML-RPC (http://xmlrpc-c.sourceforge.net/)

Peter Miehle
  • 5,984
  • 2
  • 38
  • 55
1

A very nice implementation of RPC using the rpcgen; presumeably the best C library for RPC implementation is provided by tuitorialpoint.

Check it out.