Sockets/Multiplayer

I want to design a multiplayer game, while I've spent the last month learning the C++ syntax and how to use it I am completely clueless on how sockets work and how many things are done with multiplayer. Does anyone know a book or source I could obtain/use to learn about this?
Network (or socket) programming and game programming are two very different fields. To start learning about the former I'd recommend reading up on things like TCP/IP, server management and server-side scripting as well as data packaging and compression.

I'd start off reading these two articles:
http://beej.us/guide/bgnet/
http://www.lowtek.com/sockets/

Also, if you don't know C yet, you're probably going to want to learn it!

Hope this helps :)
Last edited on
I'd say write the game first, so you'll know what data has to be sent "over the wire" to the other PC. Then worry about making it multi-player.
Topic archived. No new replies allowed.