Home Common Problem What is a network protocol

What is a network protocol

Jun 11, 2019 am 11:21 AM
Network protocol

Network protocol is a collection of rules, standards or conventions established for data exchange in computer networks.

What is a network protocol

For example, a microcomputer user in the network communicates with a mainframe operator. Since the character sets used by the two data terminals are different, the operator The commands entered do not recognize each other. In order to enable communication, it is stipulated that each terminal must first convert the characters in its own character set into the characters in the standard character set before entering the network for transmission. After reaching the destination terminal, it is then converted into the characters in the terminal's character set. Of course, for incompatible terminals, in addition to changing the character set characters, other characteristics such as display format, line length, number of lines, screen scrolling method, etc. also need to be changed accordingly. (Recommended learning: PHP video tutorial)

Elements

##The network protocol is 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 of doing it.

Commonly used protocols

TCP/IP protocol is undoubtedly the most important of these three protocols. As the basic protocol of the Internet, it would be impossible without it. When surfing the Internet, any operation related to the Internet is inseparable from the TCP/IP protocol. However, the TCP/IP protocol is also the most troublesome to configure among the three major protocols. It is fine to access the Internet from a single computer. However, if you access the Internet through a LAN, you need to set the IP address, gateway, subnet mask, DNS server and other parameters in detail.

Although TCP/IP is currently the most popular network protocol, the communication efficiency of TCP/IP protocol in the local area network is not high. When using it to browse computers in "Network Neighborhood", problems often occur. Normal browsing. Installing the NetBEUI protocol at this time will solve this problem.

NetBEUI is NetBios Enhanced User Interface, or NetBios Enhanced User Interface. It is an enhanced version of the NetBIOS protocol and has been adopted by many operating systems, such as Windows for Workgroup, Win 9x series, Windows NT, etc. The NETBEUI protocol is useful in many situations and is the default protocol for operating systems before WINDOWS98. The NetBEUI protocol is a short and concise broadcast protocol with high communication efficiency. It does not require any settings after installation and is particularly suitable for transmitting data in "Network Neighborhoods". Therefore, it is recommended that in addition to the TCP/IP protocol, computers in small LANs can also be equipped with the NetBEUI protocol. Another thing to note is that if a WINDOWS98 machine with only the TCP/IP protocol installed wants to join the WINNT domain, the NetBEUI protocol must also be installed.

The IPX/SPX protocol is originally a protocol developed by Novell specifically for use in NetWare networks, but it is also very commonly used - most online games support the IPX/SPX protocol, such as StarCraft, Counter-Strike, etc. . Although these games can also be connected through the TCP/IP protocol, it is obviously more troublesome to use the IPX/SPX protocol because no settings are required at all. In addition, the IPX/SPX protocol does not seem to be very useful in non-LAN networks. If you are sure that you will not play games online in a LAN, then this protocol is dispensable.

For more PHP-related technical articles, please visit the

PHP Graphic Tutorial column to learn!

The above is the detailed content of What is a network protocol. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What are the network protocols in Go language? What are the network protocols in Go language? Jun 10, 2023 pm 02:06 PM

In recent years, Go language, as an efficient, lightweight, and excellent concurrency programming language, has attracted more and more people's attention and love. In terms of network programming, the Go language has rich network protocol support and can help developers build network applications quickly and conveniently. Let's take a look at the network protocols in Go language. 1.TCPTCP (TransmissionControlProtocol, Transmission Control Protocol) is a transmission protocol commonly used in computer networks.

What are the common protocols for Java network programming? What are the common protocols for Java network programming? Apr 15, 2024 am 11:33 AM

Commonly used protocols in Java network programming include: TCP/IP: used for reliable data transmission and connection management. HTTP: used for web data transmission. HTTPS: A secure version of HTTP that uses encryption to transmit data. UDP: For fast but unstable data transfer. JDBC: used to interact with relational databases.

What are the three elements of network protocols? What are the three elements of network protocols? Dec 09, 2020 am 10:23 AM

The three elements of the network protocol: 1. Semantics, which explains the meaning of each part of the control information; it stipulates what kind of control information needs to be sent, as well as the completed actions and what kind of responses should be made. 2. Grammar, that is, the structure and format of user data and control information, and the order in which data appears. 3. Timing, that is, a detailed description of the sequence of events.

What are the commonly used protocols and libraries in Java network programming? What are the commonly used protocols and libraries in Java network programming? May 09, 2024 pm 06:21 PM

Commonly used protocols and libraries for Java network programming: Protocols: TCP, UDP, HTTP, HTTPS, FTP Libraries: java.net, java.nio, ApacheHttpClient, Netty, OkHttp

How to set up a CentOS system to disable unnecessary network protocols and services How to set up a CentOS system to disable unnecessary network protocols and services Jul 08, 2023 pm 08:27 PM

How to set up a CentOS system to disable unnecessary network protocols and services Introduction: CentOS is a popular Linux operating system that is widely used in server environments. To improve system security and performance, unnecessary network protocols and services need to be disabled. This article will introduce how to set up a CentOS system to disable unnecessary network protocols and services. Steps: Log in to the CentOS system. Open a terminal and execute the following command with root user rights to edit the network configuration file. sudovi

What are the main elements of network protocols? What are the main elements of network protocols? Dec 09, 2020 pm 05:32 PM

The main elements of the network protocol are: 1. Semantics; explaining the meaning of each part of the control information. 2. Grammar; the structure and format of user data and control information, and the order in which data appears. 3. Timing; a detailed description of the sequence of events.

In-depth exploration of Python's underlying technology: how to implement network protocols In-depth exploration of Python's underlying technology: how to implement network protocols Nov 08, 2023 pm 04:06 PM

Python language is a high-level programming language, and developers usually do not need to pay too much attention to its underlying technical implementation. However, when it comes to implementing network protocols, we need to have a deep understanding of its underlying technology in order to properly implement and optimize network applications. This article will delve into the underlying technology of Python, taking the implementation of a simple network protocol as an example, and provide specific code examples. 1. Introduction to network protocols Network protocols are communication rules and standards in computer networks, used to ensure that data communication between different computers is safe, effective and error-free. net

Which network protocol does the Internet use? Which network protocol does the Internet use? Aug 01, 2022 pm 02:16 PM

The network protocol used by the Internet is "TCP/IP protocol". TCP/IP refers to Transmission Control Protocol/Internet Protocol, also known as network communication protocol. It is a protocol suite that can realize information transmission between multiple different networks. The TCP/IP transmission protocol stipulates the standards and methods for communication between various parts of the Internet; and, the TCP/IP transmission protocol is two important protocols that ensure the timely and complete transmission of network data information.