🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Good MP Coding book

Started by
10 comments, last by ByteMe95 23 years, 4 months ago
That''s the way to do it (class hierarchy). Windows sockets and *nix sockets are technically portable, if you use a minimal amount of features. If you make any attempt to optimize your code for windows (overlapped i/o, event objects, etc...) then you''ll be SoL when you try to convert over. Best bet is to define the basic interface via an abstract base class, and branch off into a win32 class and a *nix class.

And berkley sockets is what you''ll be using on *nix.
Advertisement
Is there an async sokcet impl. on Linux? Are there events?

Blocking sockets are the most portable, oui?

Platform SDK\Network blah\Winsock 2 are the docs you want DarkAngle16

Magmai Kai Holmlor
- The disgruntled & disillusioned
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement