A protocol consists of rules for specific messages sent and what specific actions to taken when a message is received/other events.

All communication activity in the Internet is governed by network protocols.

Recall the “protocols” view of the internet:

image.png

There is a layered internet protocol stack:

Packets are encapsulated - headers are added which tells us information about destination address, etc.

Packets are encapsulated layer-by-layer:

image.png