Network - Communication Protocol

1 - About

A protocol design:

  • the interactions that may occurs between participant
  • and states of this interactions (lifecycle)
It's generally designed as a finite automata. State machines are also used to express the valid interaction sequences, called protocols.

In an network, a protocol is the language description on how two or more processes will communicate together.

Same as channel ??.

Protocols are instructions for multiple agents. Algorithms are instructions for single agents.
Manuel Blum #hlf14

3 - Process Communication Channel

Type Client Server Installation Machine
TCP/IP sockets Two different
Shared Memory Same
UNIX domain sockets Same

Using a Shared Memory segment allows for the best performance, but greater memory usage. Using UNIX domain sockets allows for improved performance over TCP/IP, but with less memory consumption than a shared memory segment connection.

4 - Level


4.1 - Lower Level

Layer 4 of OSI are the protocol implemented by the OS - See Network - transport layer

Internet Protocol Suite (TCP/IP)

A port is also a low level

Example on windows sysinfo will list low network protocol (OSI Layer 4)

4.2 - Higher level

5 - Operating System

5.1 - Windows

Windows - System Information will list low network protocol (OSI Layer 4) such as:

6 - Documentation / Reference

  • Page 39, 2.1.2 - Book - Hopcroft, Motwani, Ullman, Automata Theory, Languages, and Computation 3rd Edition. pdf

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap