Volking

Hey people, I've been waiting for P2P technology to mature (for a year). Below is a link to a zip file of C# source code for a game I worked on (and gave up because p2p tech was too tough for me.) It's called Rock-Scizzors-Paper. It needs peer-to-peer tech. It needs p2p for the elimination round. But maybe it would make a pretty good demo project I think, but I'm only a good "tool-user", smile, could never make tools like y'all. To see game run in automatic mode, just start it and click "Open 6x Auto Game" and then click "Run Phase1 Auto" button.

https://BlindFile.com/get.aspx bf=BBF59137307E4CE2B44FB07A17FF7394E8B02F10223146C5BDDF986579A1B9E0

Later

Frederick




Re: Peer-to-Peer Networking Want a demo for P2P?

Tyler - MSFT

Hi Fred,

Thanks! This looks interesting.

The next version of the .Net Framework (codenamed "Orcas") contains managed peer-to-peer APIs. This should help make peer-to-peer development in apps like yours a whole lot easier.

There's an article on our blog introducing the managed APIs with a PNRP example. You can find it here:

http://blogs.msdn.com/p2p/archive/2007/03/12/writing-peer-to-peer-applications-using-net-part-1-pnrp.aspx

Microsoft just released a community technology preview of Orcas. You can try it out right now if you want. There's a link in our blog post.

Fred, I'd like to understand exactly what you'd like to do with peer-to-peer and why you had trouble. Did you run into a problem or have a question that you couldn't get answered Did you find it hard to wrap your head around an API Some of our APIs are pretty rich. It can be tough getting started if you haven't seen the right sample or haven't been able to find the right people to answer your questions. We're here to help!

Tyler





Re: Peer-to-Peer Networking Want a demo for P2P?

Volking

Hi! Thanks for your interest. A year ago ... I got stymied trying to figure out how to identify the URIs for each peer. I couldn't find enough PHD sample code (PHD=Push Here Dummy) to accomplish what was needed (and I wasn't smart enough to build my own.) See, I'm one of those people who can take sample code showing HOW and build on the sample pretty well. I like to think of myself as a "tool user". I might get what I need with the PNRP samples, but it's still all pretty complicated to me.

The "BEST" sample would be a single small application that can be run on TWO (or more) computers. Click a radio button on one computer and, on the other computer, a similar radio button changes! or maybe it changes on all linked computers.

Anyway, thanks for listening to me. I'm watching your blogs ... Frederick






Re: Peer-to-Peer Networking Want a demo for P2P?

Tyler - MSFT

Thanks Fred. We'll keep this on the radar as we develop more samples.

You might be able to find what you need in peerchannel. There are a couple of samples that could be easily adapted to your app. One of them is a chat application.

There is a January post on the peerchannel blog that will guide you through the peerchannel samples if you're interested. You can find it here:

http://blogs.msdn.com/peerchan/default.aspx

Have fun!

Tyler