I thought I would post this message to save other readers some time. I downloaded and compiled the source for this chapter on a Windows machine that is running Vista Ultimate 64-bit. I built the application as a .Net Windows application and targeted version 3.5 of the .Net Framework. I copied the compiled application and configuration file to another Windows machine that is running XP Pro SP3.
I had to start the Peer Name Resolution Protocol Service and the Peer to Peer Networking Service on both machines, before I started the applications on either machine. If you forget to do this, or you only enable the PNRP Service, the application will not work. This was my first mistake.
I noticed that every time I closed the application on the XP machine, the application crashed. By chance I happened to install another packaged program that I created on the XP machine, which was also using version 3.5 of the .Net Framework. My installer detected that I needed SP1 of version 3.5 of the .Net Framework on the XP machine, and installed it automatically. Curious, I decided to run the PeerCast application again. Now it doesn't crash when I close the application.
Enjoy!