Network - Communication Protocol

> NetWork

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

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
Advertising

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

See OSI

4.1 - Lower Level

Advertising

4.2 - Higher level

Advertising

5 - Documentation / Reference

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