Introduction to Networking

"In all large corporations, there is a pervasive fear that someone, somewhere is having fun with a computer on company time. Networks help alleviate that fear." —John C. Dvorak


In this chapter, you will learn how to create games that can be played by multiple players over a local network or the Internet. Adding this extra feature to games can add much to their life expectancy, as the best opponents are always other human players. First you will learn the basic theory behind networking, and then we will look at some simple networking examples and connecting multiple clients to a server with the game that we call "I'm a circle" at the end of this chapter.