Is there anybody out there? (Online /Offline and the Peer Channel)

********************************************************* Updated to reflect changes in the February CTP ********************************************************* One of the most frequently asked questions is this: How can I tell if a node is the only member of the mesh?  We addedevents and a property that can be queried to get this information The definition of online status is straightforward: A node…

1

Handling Messages directly

********************************************************* Updated to reflect changes in the February CTP ********************************************************* My previous samples demonstrated using ServiceModel to dispatch messages to a strongly typed message handlers.  There are times when instead of having a seperate implementation for every message you will want to have a centralised message handler (often this handler is called ProcessMessage).  An early version of…

0

Multiple channels

**** One of my colleagues has pointed out a bug in this example **** I have edited this so that it now shows the correct code. The bug is that for Peer channel the configuration for each endpoint needs a distinct address to see what has changed please view the section labeled The Configuration the update…

1

Peer Channel

Updated to reflect Feb CTP changes in the config model. In Longhorn we are implementing many enhancements to the Peer to Peer programming platform one of the most exciting to me is the Peer channel.   The discussion that follows describes pre-release software, specifically it describes the implementation of Peer Channel that ships on the CD…

1

Peer to Peer SDK

At the beginning of this year I joined the Collaboration Technology group.  Our group is charted with creating a platform for developing Peer to Peer applications and for creating experiences on top of that platform.  Windows XP already contains the elements of a Peer to Peer Development platform.  The Peer to Peer SDK contains samples and…

1

Algorithms and .Net collections

Algorithms and .Net collectionsRecently I was asked by a colleague about an InvalidOperation exception with the message:Collection was modified; enumeration operation may not execute.It would seem that my colleague like many of us expected code similar to this to workforeach (Item s in collection){    if (s.expired == true)    {        collection.Remove(s);    }}And yet it gave an…

1