tags:

views:

767

answers:

2

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

A: 

Beej's Guide is a well known one. It is free and available in HTML, PDF, etc.

j0rd4n
While *Beej's Guide to Network Programming* is an excellent resource, I've never seen anything specific to RPC.
jschmier
yeah, I've read through that guide quite a bit... there's nothing in there about RPC. I just looked through his IPC guide too and there's no mention of RPC.
devin
+1  A: 

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
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
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