Local Connections

As you've seen, Silverlight gives you considerable power to communicate with sockets, but the cost is complexity. Interestingly, Silverlight has another communication mechanism that's far simpler: the local connection model.

Whereas socket support allows a Silverlight application to communicate with virtually any networked program, on any computer (provided there's no firewall blocking the way), the local connection feature is far more modest. It provides a simple way for two Silverlight applications running on the same computer to interact. This feature is particularly suited to out-of-browser applications, because users are more likely to run them in combination and leave them loaded for long periods of time.

In the following ...

Get Pro Silverlight 5 in VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.