.NET Remoting Events: Server to Client(s)
If you leave the application running for ten minutes... come back... and try to send a message via the EventPublisher... the client(s) do not receive the message. In order to prevent timeouts I forced an "infinite lease" in both Hoster.cs and EventsManager.cs:
public override object InitializeLifetimeService()
{
return null;
}
Labels: .net

4 Comments:
Thanks for porting this over to C#!
By
Anonymous, at 1:42 PM
I am getting the error that "no connection could be made because the target machine actively refused it."
when deply the server and client on different machines
Can you tell me what can i do for this?
Thanks..
By
Aparna, at 3:53 PM
Greetings Kris,
Would this work in the case of a Web Server firing an event on a client's desktop?
Thanks much,
Jerry
By
Anonymous, at 6:17 PM
Hey,
The link to the updated C# code no longer works. Any idea where I can grab the C# version from?
Thanks!
By
waterloomatt, at 8:27 AM
Post a Comment
<< Home