In an earlier chapter we looked at how different C# programs running in different processes could communicate via sockets. This approach is relatively straightforward to use and exploits the widely adopted sockets communication model. However, C# offers another way of enabling programs to communicate -.NET Remoting. Indeed, Remoting is surprisingly simple to use and may well be preferable to sockets for.NET communication. This is because the resulting software is simpler and easier to maintain than using sockets. For example, a distributed software system resembles a soft-ware system executing within a single virtual machine except for the addition of one line to a client and two lines associated with a server!
Unable to display preview. Download preview PDF.