Jump to content
  • Advertisement
Sign in to follow this  
strahan

Using DirectPlay for MMORPG

This topic is 5150 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 am about to start integrating networking into my online RPG. Question: Is DirectPlay a good choice for this or should I go with WinSock programming? I heard that DirectPlay used to limit the amount of connections allowed to the server but does this limitation still exist in Directx 9? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
WinSock programming, or another wrapper for it. Wrappers like RakNet, HawkNL, ENet.

DirectPlay is deprecated meaning Microsoft has stopped developing it and recommends not to use it. The new library called XNA will have a new API for networking, but for now just follow the above advice.

Share this post


Link to post
Share on other sites
DirectPlay doesn't scale well (at all). And if I remember well, yes there's a hard limit on the number of connection you can have.

Your best bet is to follow Pipo deClown advice and look into the libs he proposed or do your own winsock implementation.

Share this post


Link to post
Share on other sites
Agreed, TCP for file transfers, UDP for the game itself since it scales best. The mentioned libraries all were pretty decent if you don't want to do it yourself, I found especially HawkNL really decent

Share this post


Link to post
Share on other sites
Quote:
Original post by strahan
I am about to start integrating networking into my online RPG.

Question: Is DirectPlay a good choice for this or should I go with WinSock programming?

I heard that DirectPlay used to limit the amount of connections allowed to the server but does this limitation still exist in Directx 9?

Thanks!


Winsock is the best for an MMORPG albeit it's harder to learn/use.

If it's non-MMORPG related you can probably get away using DirectPlay but I suggest Winsock anyway.

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!