Archived

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

d-play or winsocks udp

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

well what you say it faster d-play or winsocks udp?? let''s say that i''ll implement the udp with multithreads... or i still should use direct play? btw-i''m working on a multiplayer 2d tanks game up to 32 players for a server... thanks

Share this post


Link to post
Share on other sites
I haven''t used D-Play myself (I use Windows NT which doesn''t support that part of the DirectX API, from what I understand) but I have found that most online games use WinSock.

As it is, DirectPlay uses WinSock internally. DirectPlay is an API layer above WinSock which is built to provide support for games, groups, etc.

It may be easier to implement something with DirectPlay, but if you take the time to learn WinSock, you''ll find it much more flexible; allowing you to do more precisely what you want.

// CHRIS

Share this post


Link to post
Share on other sites
I''d have to agree. Learn winsock if you think network communication might come up again in a non-game related task, but if you will only be making games with < 64 connections, Directplay should work.

Share this post


Link to post
Share on other sites