Chapter 10. Network Programming


“…it is important to realize that any lock can be picked with a big enough hammer.”

 --Sun System & Network Admin manual


  • How the Internet Really Works

  • The Programmer's Perspective: Sockets

  • Clients

  • A Simple TCP Server

  • Multiclient Servers

  • UDP Servers

  • Preventing Socket Blocks

  • Designing Client-Server Games

  • Massively Multiplayer Games

  • In Closing

Playing against human opponents is more rewarding than playing against a machine or, even worse, playing alone. Games such as football, chess, and hundreds of others teach us how competing against an opponent creates addiction— a desire to play repeatedly, well beyond the shorter entertainment value of automatic opponents.

Ever since the first multiplayer games appeared, their ...

Get Core Techniques and Algorithms in Game Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.