Sign in to follow this  
Kurasu1415

DirectPlay

Recommended Posts

Kurasu1415    170
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
sirob    1181
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
Evil Steve    2017
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this