Network - Communication Protocol
Table of Contents
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.
Articles Related
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.
Level
See OSI
Lower Level
Layer 4 of OSI are the protocol implemented by the OS - See Network - transport layer
Internet Protocol Suite (TCP/IP)
- bluetooth
A port is also a low level
Example on windows sysinfo will list low network protocol (OSI Layer 4)
Higher level
Operating System
Windows
Windows - System Information will list low network protocol (OSI Layer 4) such as:
- bluetooth
Documentation / Reference
- Page 39, 2.1.2 - Book - Hopcroft, Motwani, Ullman, Automata Theory, Languages, and Computation 3rd Edition. pdf