Sign in to follow this  

Using DirectPlay for MMORPG

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

This topic is 4864 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.

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