The internet

Before we dive into understanding communication protocols, let's understand how the internet works since it is the backbone in the concept of IoT.

The internet is a global network of computers/systems connected to each other. Each system/computer has a unique Internet Protocol (IP) address as its identifier over the internet. But how exactly does one system interact with another? Through a protocol stack. It is also referred to as the Transmission Control Protocol (TCP) or IP protocol stack.

This table will help you understand TCP/IP:

Layer

Description

Application protocol

Specific to application such as FTP, email, HTTP, MQTT, Socket, and the others.

Transmission control protocol

It is a standard that defines ...

Get Internet of Things with Raspberry Pi 3 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.