Chapter 4. More than two

Introduction

In Chapter 2, we used the example of a boids distributed application to illustrate the practical use of networking. In that chapter we only supported two hosts, using either a connection-oriented or a connectionless communication model to maintain a loosely coupled shared state. Therefore, the focus was on getting the data from one host to another using the Berkley Sockets Application Programming Interface (API).
The boids application serves as an example of a simple NVE. However, our aim has to be to support more than just two hosts. Consequently, in this chapter the boids application will be extended to support any number of hosts, taking different architectural approaches to do so. By the end of this chapter, ...

Get Networked Graphics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.