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.
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
Protocols that implements:
- Addressing,
- routing
- and traffic control
are in Network Layer protocol (OSI level 4)
Example: tcp, udp, …
Higher level
Level 7 - Application Layer
Web
Console
IP
File
Others
- LDAP: Directory
- The SMTP Protocol: Mail
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