Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


MultiPlayer game

This topic is 5453 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 want to make multiplayer game, the max player is 8 players. Which one is better ?? using DirectPlay or using WinSock ?

Share this post

Link to post
Share on other sites
If you only want 8 players its a good idea to use DirectX's DirectPlay and a peer-to-peer client structure. the book I mentioned in my Book Recommendation post "Multiplayer Programming in DirectX" teaches you how to do peer-to-peer and client-server applications and games using both Socks and DirectPlay. Amazon Rates it as 4 stars but I personally give it 5 well actually a 6 if I could go that high.

I really recommend using a client/server setup even though its not fault tolerent its easier to keep track of multiple clients in game.

Peer to Peer is fault tolerent, meaning if the host drops out another peer can take over being the host, the big disadvantage to peer-to-peer client gaming is each players machine in game has to keep track of multiple clients at the same time which slows network traffic.

If you weight the advantages of both client/server and peer-to-peer the best way to go for small multiplayer games is peer-to-peer but if you want more players to join in the future its best to have a dedicated server program running on another machine and have all your players log on to that server.

[edited by - Lord FireFox on November 10, 2003 9:48:27 PM]

Share this post

Link to post
Share on other sites

  • 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!