Re: Remote object sending from server to client to local client

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Sep 11, 4:27 pm, daniel.e.gabr...@xxxxxxxxx wrote:
Hi.

I've done quite a bit of research but haven't found any references to
a situation similar to mine. I have a server (srv) that publishes a
remote object and has a single TCP channel open.

I also have a client (clt) that retrieves that object from a TCP
channel that it has open.

The next part is where the problem is. I also have another application
(app) that needs to get the srv remote object, but it needs to get it
from clt. As of right now, this is done through an IPC channel and
doesn't work.

I tried returning the srv remote object from a method call on clt
(i.e., app invokes a method on clt and this method returns the srv
remote object). But this method always returns null, though clt has a
valid reference to that object and can invoke methods with no problem.

Here is a diagram:

[app] <------- ipc channel ---------> [clt] <----------- tcp channel
-------------> [svr]

The communication between clt and svr is pristine. Same with app and
clt (for objects created in app or clt).

Does anyone know of a way to pass the srv remote object to app?

Sorry for the long post.
Thanks much,
-Daniel

To simplify things:

Is there a way for the client to retrieve a remote object from the
server, and then pass it on to another client over a different
channel?

Thanks,
-Daniel

.



Relevant Pages

  • Remote object sending from server to client to local client
    ... remote object and has a single TCP channel open. ... I also have a client (clt) that retrieves that object from a TCP ... I tried returning the srv remote object from a method call on clt ... app invokes a method on clt and this method returns the srv ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: ASP.net client using Local .dll instead of remote
    ... When the client is an ASP.NET app, ... seperate config file. ... > I have a relatively simple remote object hosted in IIS on a separate ... > but the web app always runs the local copy of the .dll file and never ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Where to put remote activator in the client?
    ... > I'm developing a Remoting project and after reading and testing a LOT with ... > Now, in my project, when the app starts... ... > to the remote object ... > TcpClientChannel ch = new TcpClientChannel; ...
    (microsoft.public.dotnet.framework.remoting)
  • Where to put remote activator in the client?
    ... I'm developing a Remoting project and after reading and testing a LOT with ... Now, in my project, when the app starts... ... to the remote object that ... TcpClientChannel ch = new TcpClientChannel; ...
    (microsoft.public.dotnet.framework.remoting)
  • ASP.NET: 401 (Unauthorized) error
    ... On localhost I have an ASP.NET app hosting a remote object. ... test authenticating, then authorizing/denying users based on their Windows ...
    (microsoft.public.dotnet.framework.aspnet.security)