I build a remoting app.
All works fine with my interface: I can send a message from one client to another one ...
The problem is that I want my server to send message to a client (I mean not client -> server -> client , but only server -> client).
I found code to do that:
SrvActObj = (RemoteServer)Activator.Ge
But the server is considered as client in that case !!!!!!!!!!??????????
So, how can I do without using the previous code to send a message directly from server ?
My app is something like this:
I found an article which one uses a publisher to send message to the client when the database is updated:
I don't understand why the publisher uses Activator.GetObject. I think it's possible to retrieve the remoteobject directly from the server which one builds this remoteobject.
Thanks in advance for your answers.