From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,607935dda9b15b31 X-Google-Attributes: gidf678f,public X-Google-Thread: 111308,607935dda9b15b31 X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1994-02-03 13:46:32 PST Xref: gmd.de comp.client-server:2422 comp.unix.osf.misc:970 Newsgroups: comp.client-server,comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!news.intercon.com!psinntp!psinntp!psinntp!commpost!rfh From: rfh@das.ml.com (Reilly F. Hayes) Subject: Re: DCE Questions. Message-ID: Sender: usenet@tigadmin.ml.com Organization: ml.com References: <2ijd6k$69t@news.tamu.edu> Date: Thu, 3 Feb 1994 21:46:32 GMT muppidi@cs.tamu.edu (Shridhar R Muppidi) writes: >Hello, > I have a few questions related to DCE RPC - would appreciate >if anybody could take some time and answer them. I'll post a >summary once I get all the answers. >1. Is it possible in DCE RPC to have one piece of code > act as both server and client? Yes. Many servers are clients to other servers. I suspect what you may be asking about is whether or not a particular client can also act as a server to its server (yielding a "full-duplex" client/server server/client relationship.) This would be useful if, during a long term session, you wanted the server to be able to initiate unsolicited communications/actions. The answer to this is also yes. Some aspects of the how to do this are annoying, but not really difficult. >2. Is it possible to have same server code running on > different processors/hosts? A perfect example is a > parallel machine. Lets say that a client requires > service and contacts the CDS and gets the address of > the host providing the service. Now a different client > needs the same service - is it possible to provide the > same service on a different processor/host. If 'yes' how > does the CDS know about it and direct the new client to the > new host? Yes. All of them might have entries in the CDS, perhaps under the same name. No, the CDS does not know about who is using which servers. (n.b. The CDS is relatively slow at propagating data. It is a poor place to store highly dynamic data like this.) >3. Finally, can marshaling totally overruled by 'out_of_line' > attributes? Can it by substituted by some other user > defined packing? Why would you want to? There is a type called byte, which is immune to translation. -- _____________________________________________________________________________ Reilly Hayes | The Crystal Wind is the Storm, | This Space rfh@ml.com | the Storm is Data, and the Data is Life | Intentionally 212-236-9526 | - The Player's Litany | Left Blank