views:

365

answers:

3
+3  Q: 

XNA Peer-to-Peer

Hi, what is the best way for writing an XNA Peer-to-Peer game without having to use the Windows Live stuff that requires that both players of the game have an XBOX Gold membership

I also need some client/server functionality but that isn't as critical yet!

Thank you.

edit: what does everyone think of this http://msdn.microsoft.com/en-us/library/system.net.peertopeer.aspx

A: 

You can simply use the .Net networking classes from the System.Net namespace.

Aistina
+2  A: 

Personally I'd take a good look at these links: System.Net and P2P C# Implementation

Siyfion
+5  A: 

Specifically, the System.Net.PeerToPeer namespace should be mentioned here. For client/server functionality you should look for more complete libraries, like Ice.

Update: I admit to not having actively used these classes (yet), though the statement "capabilities for serverless managed collaboration sessions" and the classes available in the Collaboration namespace seems to be a promising P2P implementation.

Its worth noting that there seems to be a limitation to running on Vista.

Peter Lillevold
and windows 7 I guess?
Shahin
Yes, I would believe Windows 7 is covered.
Peter Lillevold