Jump to content
  • Advertisement
Sign in to follow this  
godsenddeath

DirectX Networking (DirectPlay? XBOX Live?)

This topic is 3913 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i've been reading through "Programming Role-playing games With DirectX" and i've been reading the chapter on directplay, but i looked around and apparently its all but obsolete, apparently in favor of a ported version of XBOX live? if this is the case and the info i was reading is correct, they stopped including DirectPlay headers and lib's in 2004, but the XBOX live port is only for vista? what would be your options for networking if you're designing games for XP?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by godsenddeath
what would be your options for networking if you're designing games for XP?
I'd say use Winsock. Pretty much everything you learn from that will port quite easily to other APIs, and the Winsock API itself is simple too.

Share this post


Link to post
Share on other sites
Quote:
Original post by godsenddeath
i've been reading through "Programming Role-playing games With DirectX" and i've been reading the chapter on directplay, but i looked around and apparently its all but obsolete, apparently in favor of a ported version of XBOX live? if this is the case and the info i was reading is correct, they stopped including DirectPlay headers and lib's in 2004, but the XBOX live port is only for vista? what would be your options for networking if you're designing games for XP?


Games for Windows Live came out recently and it's basically a ported version of Xbox Live for PCs. GforWL are Vista only (but they can be hacked to run on XP) but the idea is that games (Shadowrun IIRC is the only one yet) can run cross-platform so you can be playing on your PC and be in the same online match as people playing the same title on the Xbox 360. MS is trying to push this idea forward (although few PC games support it as of yet) so it makes sense that you're seeing all this reference to Xbox Live.

Winsock is your best bet, but it's Windows only. Seeing as you're working with DirectX which is Windows only in any case, I don't see using a Windows only networking library as being a problem.

ukd.

Share this post


Link to post
Share on other sites
Quote:
Original post by Gage64
You can use Winsock.

Of course, there are also cross-platform libraries like Raknet and SDL_net.



Ok thanks, does anyone have a suggestion as to which Winsock implementation to use? Is there a paticular one that is more widely used?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!