Advertisement

UDP vsTCP for games

Started by March 24, 2002 07:39 PM
40 comments, last by Tylon 21 years, 6 months ago
What''s wrong with using DirectPlay!? I was just starting to learn it and once I got past the init code and the callback I found it to be alot easier than winsock. Should I stop investing time in this route and go back to the hideousness of winsock programming and why so?
quote:
Original post by brekehan
What''s wrong with using DirectPlay!? I was just starting to learn it and once I got past the init code and the callback I found it to be alot easier than winsock. Should I stop investing time in this route and go back to the hideousness of winsock programming and why so?

You can probably search this forum and find plenty of topics that explain why many people choose not to use directplay.

As far as winsock being hideous, it''s not hard to use at all. It is mostly portable (using the bsd-style interface) and is very well documented. There''s no guess work about what is going on behind the scenes, as you write the basic transport yourself rather than using a generic library that may or may not be tuned for your specific approach.

Either way, good luck, have fun etc...

This topic is closed to new replies.

Advertisement