From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,e2806d54c4a0477e X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-04-28 22:02:10 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!noc.near.net!atria.com!pluto!mishkin From: mishkin@atria.com (Nathaniel Mishkin) Subject: Re: Questions about DCE RPC and DFS Message-ID: Sender: news@atria.com Nntp-Posting-Host: pluto.atria.com Organization: Atria Software, Inc. X-Newsreader: TIN [version 1.2 PL0] References: <9404272342.AA20547@heliodor.cm.cf.ac.uk> Date: Fri, 29 Apr 1994 01:52:24 GMT Craig_Everhart@transarc.com wrote: : DCE RPC uses a ``receiver-makes-right'' representation. Presumably the : receiver always knows what the sender's representation is, knowing how : to interpret the tag. I can't comment on what happens if the protocol : is extended to include a new representation. Obviously, if a new data rep were added, receivers of data on systems whose creation pre-dated the addition of the new rep would not be able to process the data. This argues against adding such reps. To the extent that the term "receiver makes right" implies some magic in this area, it's a bad term. There _is_ no magic. We came to decide that a better term is "multi-canonical". Each system wanting to send data has a fixed-size set of reps to choose from. If there is an exact match between a system's native rep and one of the the reps in the set, the system should in all likelihood use that rep. (It can, in theory, use some other rep. E.g., it could be a relatively fast machine that wants to do its relatively slower peer a "favor" by encoding in the peer's native rep, assuming it knows what that is and that it's one of the standard reps.) In case there is no exact match between a system's native rep and one of the standard reps, the system would presumably pick the one that's easiest and/or fastest to convert to before putting the data on the wire. In practice, this situation is unlikely to occur since the number of reps in actual use is going down, not up, and the DCE RPC NDR protocol covers the common cases. The wide variety of character sets across the world is a complication, but, when understood correctly (i.e., as multiple data _types_, not multiple data type _representations_), you can see that it's probably not best solved at the data encoding layer. -- -- Nat Mishkin Atria Software, Inc. mishkin@atria.com