1833570 Members
3647 Online
110061 Solutions
New Discussion

Re: networking

 
SOLVED
Go to solution
Indrajit Bhagat
Regular Advisor

networking

what is the difference between the rpc and portmap.
6 REPLIES 6
Pete Randall
Outstanding Contributor
Solution

Re: networking

I would suggest reading the man page for rpc and comparing it to the rpcbind man page.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: networking

RPC (Remote procedure call) is a model of communication used to exchange data between different processes, see
http://en.wikipedia.org/wiki/Rpc

portmapper is part of this communication, see
http://en.wikipedia.org/wiki/Portmap

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
tkc
Esteemed Contributor

Re: networking

RPC is Remote Procedure Call, a communication model.
portmap is the daemon in HP-UX 10.20 that converts rpc program numbers into port numbers. in HP-UX 11.x, it's called rpcbind.
Torsten.
Acclaimed Contributor

Re: networking

As you can see now, asking for a difference between rpc and portmap is just like asking for the difference between an apple and an apple-tree.

The main idea behind all the interprocess communication models is this:
How to make the communication between processes (running on different systems and even operating systems) easy and reliable?

There came up a lot of solutions over the years, like rpc, NET, CORBA, Java RMI ... to make the application development easier.

Another link:

http://www.cs.cf.ac.uk/Dave/C/node33.html




Consider to assign points!
;-)


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Indrajit Bhagat
Regular Advisor

Re: networking

thanks for replying it, but still i am not getting it.
what is role of rpc in nfs.
what is role or portmap.
Torsten.
Acclaimed Contributor

Re: networking

I try to make it very simple:
NFS is using RPC for communication between server and clients, RPC is using the portmapper as a part of RPC.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!