View Single Post
  #2 (permalink)  
Old May 1st, 2007, 03:49 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

While I was experimenting with remoting I tried the very same thing. You can't do it. At least not with a single remoted object.

Think of the remoted object as an answering machine. You can call to it and leave a message. So can I. But the answering machine doesn't call me when you leave a message.

In order to achieve what you want (raise an event on the remote object that will propagate out to all clients of the remote object) you will need to build in two way remoting. The remote application will have to establish its own connection to the client in order to take an incoming remoting call and pass data to all the clients it is connected to.

-Peter