Jump to content
  • Advertisement
Sign in to follow this  
Kurasu1415

DirectPlay

This topic is 3558 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

Ok, so I am trying to get a setup where the player will run the client, the client sends basic info to a server, and the server takes more information from a MySQL database. It is similiar to the way an MMO works. I have heard that DirectPlay is horrible, and doesn't work. Would it be better to use DirectPlay, or just go straight Winsock? Thank you to anyone who can help.

Share this post


Link to post
Share on other sites
Advertisement
I'm not sure it doesn't work, but I think it wouldn't be a wise choice to use DPlay. There are plenty off possible compatibility pitfalls, and now that it is no longer supported, they'll be hard to work around.

Also, since it's a more complex system than just WinSock, you have less freedom to do things the way you want to. While this isn't always an advantage, with todays Windows built-in firewall requirements and other issues, getting DirectPlay to play along might be very time consuming, to say the least.

Share this post


Link to post
Share on other sites
Ah, I see your point. I was unaware that directPlay was no longer supported. I guess I will just learn Winsock 2 then. Any other suggestions?

Share this post


Link to post
Share on other sites
Does anyone know what Network APIs are multi-platform? I am wanting to use OpenGL, so it would be nice to have multiplatform network APIs.

Share this post


Link to post
Share on other sites
Quote:
Original post by Kurasu1415
Does anyone know what Network APIs are multi-platform? I am wanting to use OpenGL, so it would be nice to have multiplatform network APIs.
Plain sockets are about as cross platform as you can get (Or there's SDL_net, etc, see the Multiplayer and Network Programming Forum FAQ for a list). Basically, you can use WinSock, just avoiding all the WSA*() functions (Except WSAStartup and WSACleanup which you'll need some #ifdefs to make sure you call on Windows systems)

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!