Chapter 2. Understanding the Networking Concepts

Before we start coding a network application, it is better for us to understand how a network works. In this chapter, we will dig up network concepts with their contents. The topics that we'll cover in this chapter are as follows:

  • Distinguishing between the OSI model and the TCP/IP model
  • Exploring IP addresses in both IPv4 and IPv6
  • Troubleshooting TCP/IP problems using various tools

An introduction to networking systems

Network architecture is structured with layers and protocols. Each layer in the architecture has its own role, while its main purpose is to offer a certain service to the higher layer and communicate with the adjoining layers. However, a protocol is a collection of rules and conventions ...

Get Boost.Asio C++ Network Programming - Second Edition 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.