14

Can someone point me to a decent RPC tutorial for (or books) linux, like in this post. I tried looking around myself, I've only found tutorials that are really old.

Thanks

Community
  • 1
  • 1
devin
  • 6,407
  • 14
  • 48
  • 53
  • 1
    The term RPC is generic. Do you have a specific protocol in mind like Sun RPC? The tutorials are old because the protocol *is* really old. http://en.wikipedia.org/wiki/Open_Network_Computing_Remote_Procedure_Call – Dave Bacher Mar 26 '10 at 19:50
  • You found old tutorials because RPC goes way back. It's been reinvented half a dozen times over the years. What's your motivation? – Duck Mar 26 '10 at 19:52
  • Half a dozen is probably off by an order of magnitude or 3 :-) If you've got the general idea of what it is you can roll your own and reinvent it again pretty easily. – nategoose Mar 26 '10 at 21:43
  • I was thinking of major implementations that got some market penetration. To create anything that would even get glanced at by people today would definitely not be trivial. – Duck Mar 26 '10 at 22:47

1 Answers1

17

Since the idea of RPC goes back to 1976 and the first business use was by Xerox in 1981, I'm not exactly sure what qualifies as a really old tutorial.

Here are a few resources you might find helpful.

jschmier
  • 15,458
  • 6
  • 54
  • 72
  • That Linux Journal one was the old one I was talking about. I suppose RPC is a more mature technology than I thought. Also the third one on your list: I can't build the first example. There's no definition of rnusers() in the included libraries. – devin Mar 29 '10 at 16:41
  • 1
    The `rnusers()` function returns the number of users logged on to the specified host via `rpc.rusersd`. I have been unable to find an equivalent function in Linux. Here's a link to the `rpc.rusersd` manpage - http://linux.die.net/man/8/rpc.rusersd – jschmier Mar 29 '10 at 18:03