Communication between computers is achieved through network protocols. A network protocol is a collection of rules, standards or conventions established for data exchange in computer networks. It consists of three elements: semantics, syntax and timing.
#The operating environment of this article: windows10 system, thinkpad t480 computer.
In a computer network, communication between computers is achieved through network protocols.
What is a network protocol?
A network protocol is a set of rules, standards or conventions established for data exchange in a computer network.
Network protocols are composed of three elements:
(1) Semantics. Semantics is the interpretation of the meaning of each part of the control information. It specifies what control information needs to be sent, as well as the completed actions and responses.
(2) Grammar. Syntax is the structure and format of user data and control information, as well as the order in which the data appears.
(3) Timing. Chronology is a detailed description of the order in which events occur. (Also known as "synchronization").
People vividly describe these three elements as: semantics represents what to do, syntax represents how to do it, and timing represents the order in which to do it.
Free learning video sharing: Introduction to programming
The above is the detailed content of How is communication between computers achieved?. For more information, please follow other related articles on the PHP Chinese website!