Networking for Multiplayer Games Where to start?

Member
Posts: 157
Joined: 2002.12
Post: #1
Hello All

I've done some openGL coding and I'm happy with the stuff I've learned so far even though I keep on learning something new every day.

Seems like future of games is moving to online multiplayer, and I want to try getting started with some network programming for games.

Questions:
Where do I start?
Is there a library to handle networking?
Any website links?

Thanks for your help
Smile
Quote this message in a reply
Member
Posts: 104
Joined: 2002.04
Post: #2
Where do you start?
Learn basic sockets programming, write a very simple networked "Hello World" program where the server sends a "Hello World" string to any client that connects to it. Once you've done that, the rest is algorithmic.

Is there a library to handle networking?
There are tons, none are good enough or general enough to be better than what you can write using sockets. If you are really afraid of all of that stuff, take a look at CFNetwork and all that jazz. But be warned that there are some strange bugs lurking in CFNetwork.

Website links:
MacDevCenter had an okay tutorial in their Rendezvous chat example that gave some good information.
Everyone seems to love http://www.ecst.csuchico.edu/~beej/guide/net/html/
For books, the Stevens book is the bible, and I also liked the small "Practical Sockets Programming with TCP/IP"
Quote this message in a reply
Sage
Posts: 1,482
Joined: 2002.09
Post: #3
Once you learn sockets. You'll need to know how to implement it in your game. Take a peek here.

Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Various BSD Networking Questions wyrmmage 25 10,732 Jul 30, 2007 05:09 AM
Last Post: unknown
  Newbie networking - just dl'ing data from an URL... sealfin 4 3,500 Apr 19, 2007 07:01 AM
Last Post: sealfin
  Good networking library Ummon 5 4,473 Jan 22, 2007 11:59 PM
Last Post: akb825
  Simple networking? CarbonX 13 7,155 Apr 7, 2005 12:36 AM
Last Post: Andrew
  Saving a Place for Networking Roosterhouse 3 3,987 Aug 6, 2004 02:05 PM
Last Post: FCCovett