-4
\$\begingroup\$

I've got a mostly working PC game in XNA 4, and am looking to make it networked. From the documentation it seems that I can use XNA Networking through GFWL to do LAN sessions, but not online sessions (without each account paying microsoft a bucket of cash...). I started poking around and found MonoGame, but their documentation is kinda scattered. They have a peer to peer sample, but I'd like to know if this translates to the ability to find online sessions before I get started porting my game.

\$\endgroup\$
5
  • 1
    \$\begingroup\$ Could you clarify your actual question? You provide a lot of background detail, but you may want to revise your question if you wish to get better answers. \$\endgroup\$ Commented Jun 7, 2013 at 18:50
  • 2
    \$\begingroup\$ You can use sockets in both, so it doesnt matter. Take a look at lidgren library. code.google.com/p/lidgren-network \$\endgroup\$
    – Kikaimaru
    Commented Jun 7, 2013 at 18:53
  • \$\begingroup\$ I want to know if it's possible to create an online game using the library provided by monogame. \$\endgroup\$
    – dazerdude
    Commented Jun 8, 2013 at 13:34
  • 2
    \$\begingroup\$ This is basically a "which technology to use" question. Hence voting to close. \$\endgroup\$ Commented Jun 11, 2013 at 8:25
  • \$\begingroup\$ Also, there's no question in this question. \$\endgroup\$ Commented Jun 11, 2013 at 16:15

1 Answer 1

0
\$\begingroup\$

You shouldn't be doing networking through XNA or Monogame.

Use C# / .net's built in System.Net code.

Specifically, sockets... just google "C# .net sockets client-server example" or similar things, and start learning how sockets work. Make an online chat room or something to practice... when you got it down, you can directly move your code over to your XNA or Mono project.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .