O'Reilly logo

Core Techniques and Algorithms in Game Programming by Daniel Sánchez-Crespo Dalmau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

KEY TOPICS

  • 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required