Re: Raise event to client



Hi,
In order to make events go through remoting, you must open a channel on your
client app (port 0 if you don't have any other channel), make your event
public and the callback method (the method handling the event) public
also... Maybe you will have to change some things in your config file, but
I can't tell for sure.

There are answers to this question all over the net (I already asked it too,
so it should be in the news archives)... try googling for +".net"
+"remoting" +"events" and browse... ;) But what I gave you should give you
a good start.

I hope it helps

ThunderMusic

"Le Minh" <hanami279@xxxxxxxxxxx> wrote in message
news:OAUHzoNMHHA.3952@xxxxxxxxxxxxxxxxxxxxxxx
Hi all.
I need to write a application using .net remoting technology. The problem
here it that, i need to raise event to client. Image, server do some work
and send result to the client when it finished. How can i do it ?
Thanks all!



.



Relevant Pages

  • Re: Remote event subscription not working.
    ... Check out this remoting event example. ... Ingo Rammer's website has an example of the security fix. ... To register a channel programmatically check out the example at this link: ... > if I'm supposed to set this setting on the client as well. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: The call to TransparentProxy of remote object hangs forever
    ... Client calls methods of this object. ... > If I disconnect a network cable while the client is in remote call - this ... It's kind of bug in .NET remoting. ... channel implementation with guaranteed call timeout. ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: Remoting: security and app.config
    ... you're using .net remoting for communication between ... One of the client application will call a remote object from ... another remote object from service B which does not use secured channel. ... socket, String machineAndPort) ...
    (microsoft.public.dotnet.framework)
  • Socket Exception: "Invalid Argument was Supplied"
    ... 1000+ clients which connects to the server via remoting. ... 200+ client connection, when a new client is suppose to get the ... Exception StackTrace: ... //tcp channel for communication ...
    (microsoft.public.dotnet.framework.remoting)
  • Socket Exception: "Invalid Argument was Supplied"
    ... 1000+ clients which connects to the server via remoting. ... 200+ client connection, when a new client is suppose to get the ... Exception StackTrace: ... //tcp channel for communication ...
    (microsoft.public.dotnet.framework.remoting)