Maiori
Maiori

Reputation: 37

.NET Remoting - How to do a callback to all connected clients?

I'm studying .NET Remoting and I see an example on Remoting callbacks and events in .NET 2.0, A simple example. All works good. Now my problem is if I try to start another client, the server doesn't callback to all clients connected to it but only to the last one. How can I send callback to all clients?

Upvotes: 1

Views: 1160

Answers (1)

Alon Gubkin
Alon Gubkin

Reputation: 57129

.NET Remoting is now superseded by Windows Communication Foundation (WCF), which is part of the .NET Framework 3.0. You should use WCF instead of Remoting.

Read this tutorial, on how to work with callbacks in WCF:

Upvotes: 1

Related Questions