Advertisement

WinSock2 vs DirectPlay

Started by November 07, 2003 04:14 AM
4 comments, last by twan 21 years, 2 months ago
I whant to use one of these two in a network game. Only i don''t know wich one to use. Can anybody tell my the pro''s and con''s between those two methods ?
faq

My Site
Advertisement
Oh thanks for you''re information but i couldn''t find any information on you''re site :s.
I mean the faq. My site is just the my signature

My Site
winsock2

pros:
- portable
- low level API = freedom

cons:
- takes longer to get network library up and running
- if done wrong, can become a bottleneck

DirectPlay

pros:
- supports many protocols and connection methods (although most are useless)
- supposedly easy to learn (???)
- supposedly efficient (???)

cons:
- not portable
- no low level access
Also with direct play you get voice support, and the masochistic fun that is thrown in for free when using anything related to COM (this applies to all of directx really)
super genius

This topic is closed to new replies.

Advertisement