[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

Re: server invoke method in the client side that is behind router

retoro

8/30/2004 4:37:00 PM

It's really the same issue. When you raise the event on your server, the
server makes a connection back to the client using the info in the ObjRef
that the client passed to the server. Thus, the server has become the client
and the client ahs become a server. So, you'd employ the same techniques to
resolve the issue as described in the article, but you'd implement them on
the client side.

Now, if your client has no static name/address at which the server can reach
it, then you have a problem. I would recommend you look into a solution such
as Genuine Channels (www.genuinechannels.com) -- it works around this
problem by using a single, persistent connection created by the client for
bi-directional communications.

Ken


"sharon adler via .NET 247" <anonymous@dotnet247.com> wrote in message
news:ecyUauPjEHA.3428@TK2MSFTNGP11.phx.gbl...
> (Type your message here)
> My question is the opposite side of the question that the article:
http://www.glacialcomponents.com/ArticleDetail/... is handle.
> When I am using event and delegate for the server to invoke method in the
client side,
> And I have a client that is behind firewall\Router,it fails.
> From inside my network/router it works.
> Thanks
> Sharon
>
> --------------------------------
> From: sharon adler
>
> -----------------------
> Posted by a user from .NET 247 (http://www.dotn...)
>
> <Id>ssLc/j9o2kSdpjk1w+Wwyg==</Id>