Under normal circumstances the call will get routed directly to C. When you pass a reference around you're actually passing the proxy that knows how to connect to the server that hosts the object. I don't know what's going to happen if channels are different, my guess is that it will try to establish TCP channel to C?
Sergey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 7:38 AM To: [EMAIL PROTECTED] Subject: DOTNET Remoting Question Hi, I have a .NET remoting questions. The scenario is this: If I have three server process (A, B and C) running on three machines. And process B gets a MarshalByRef object reference (O) from process C and then gives this object reference to A. Then when A makes a method call on object O, will the call be routed via process B or will the call be directly made to process C? AFAIK the call will go directly to process C. My questions is; if the communication protocal is different between the servers/process (i.e. TCP is between A and B, but B and C use a custom channel), then how would A be able to communicate with C? Regards Mahmud -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
