Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XNA networking on windows

  1. What are XNA's builtin network functionalities?
  2. Is it possible to use XNA's builtin network in windows? If so, any restrictions?
like image 537
Niran Avatar asked Mar 10 '10 04:03

Niran


People also ask

Does XNA work on Windows 10?

Windows 8 and 10 users MUST install the Marketplace Client software before the XNA Game Studio software. This installation process will take 1 or 2 steps depending on your operating system and version of Visual Studio.

What is Microsoft XNA and do I need it?

Microsoft XNA is a set of tools provided by Microsoft for video game development and video game management. Provided with a managed runtime environment by Microsoft, Microsoft XNA is based on the . NET framework. Microsoft XNA is targeted for lightweight games running on multiple Microsoft platforms.

What replaced Microsoft XNA?

By the time the next generation of consoles released, XNA had been abandoned, but Monogame came in to take its place, and it had support for PlayStation 4."


2 Answers

If you use the Microsoft.Xna.Framework.Net namespace classes, you are restricted to local, subnet and Games for Windows Live (which means the developer having a Creator's club membership and players having a Silver/free GFWL membership).

However, as long as you're not planning on also supporting Xbox 360 or Zune (or Windows Phone 7), you can simply use the System.Net classes (though finding available games will be up to you and would require a server component).

See also:

  • Getting Started With Networked Games
  • How To: Create a Network Session
  • How To: Find and Join a Network Session
like image 166
Richard Szalay Avatar answered Nov 15 '22 02:11

Richard Szalay


Another solution is to use an external networking framework. I found lidgren some months ago. I didn't look at it yet, but it seems quite good.

Maybe it's what you're looking for.

Lidgren project

There are also code samples to start.

like image 27
Eric Bole-Feysot Avatar answered Nov 15 '22 03:11

Eric Bole-Feysot