Article View: comp.protocols.misc
Article #190Re: osf-ncs vs. sun-rpc
From: Nathaniel Mishkin
Date: Fri, 06 Jul 1990 13:56
Date: Fri, 06 Jul 1990 13:56
39 lines
2614 bytes
2614 bytes
In article <404@bischeops.UUCP>, nick@bischeops.UUCP (Nick Bender) writes:
|> In article <1720010@hpbbi4.HP.COM>, markl@hpbbi4.HP.COM (#Mark Lufkin) writes:
|> ...
|> Stuff about NCS and Local Location Broker (LLB) and Global LB (GLB) deleted
|> ...
|> >
|> > SUN RPC has something similar to the GLB called the portmapper. ...
|>
|> Well, I haven't used NCS but I have used RPC (a lot). I think portmapper is
|> more analogous to LLB in that it is where services provided by a host are
|> registered.
Exactly right. The closest analogy is LLB<->Portmapper and GLB<->YP. See
my other posting(s) in comp.protocols.misc for more details.
|> You can in fact get dynamic program numbers - that's the whole point of the
|> transient port numbers. HP even includes a little function called gettransient
|> which will return a newly bound transient port number. See the above manual
|> for the source.
I believe you're confused. I don't see what transient port numbers have
to do with program numbers. An application that wants to make a remote
call to a particular procedure in a particular interface needs to know
the ID (program number or UUID) of the interface a priori. The ID is
embedded in the client's executable image. In general, there is no way
to query anything for it. The ID is the key, not the value, of lookups.
It is important that it be possible to easily get new unique IDs out
of the keyspace to ensure that two people don't accidently pick the same
one. Sun RPC does not address this problem (unless you count calling up
Sun and asking for a program number as addressing the problem).
-- Nat Mishkin
Cooperative Object Computing Operation
Hewlett-Packard Company
mishkin@apollo.hp.com
-- Nat Mishkin
Cooperative Object Computing Operation
Hewlett-Packard Company
mishkin@apollo.hp.com
Technical Details
Message-ID:
<4b6dcb88.20b6d@apollo.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!ucsd!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!apollo!apollo.hp.com!mishkinReferences:
<jwright.645863199@quonset> <1720010@hpbbi4.HP.COM> <404@bischeops.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!ucsd!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!apollo!apollo.hp.com!mishkin From: mishkin@apollo.HP.COM (Nathaniel Mishkin) Newsgroups: comp.protocols.misc Subject: Re: osf-ncs vs. sun-rpc Message-ID: <4b6dcb88.20b6d@apollo.HP.COM> Date: 6 Jul 90 13:56:00 GMT References: <jwright.645863199@quonset> <1720010@hpbbi4.HP.COM> <404@bischeops.UUCP> Sender: root@apollo.HP.COM Reply-To: mishkin@apollo.HP.COM (Nathaniel Mishkin) Organization: Hewlett-Packard Apollo Division - Chelmsford, MA Lines: 39