Port introduction of MSP430 microcontroller

First, the definition of the port

The port number identifies the only process in the host, and the IP+ port number identifies the only process in the network. In our usual Socket programming, the IP+ port number is the socket.

The port number is numbered by a 16-bit process, and the range is 0-65535. By the way, you can use these ports casually. But you are not a vip user, so some ports are occupied by vip users. For example, FTP 21 Ssh 22 and so on, so the port is divided into classes, which stipulates that you can use the range of ports.

Port introduction of MSP430 microcontroller

Second, port classification

Hardware port

The CPU transfers data through interface registers or specific circuits to peripherals. These registers or specific circuits are called ports.

Ports in the hardware field are also called interfaces, such as parallel ports and serial ports.

2. Network port

In network technology, ports have several meanings. The ports of hubs, switches, and routers refer to interfaces that connect other network devices, such as RJ-45 ports and Serial ports. The port we refer to here does not refer to the port in the physical sense, but specifically refers to the port in the TCP/IP protocol, which is a logical port.

3. Software port

Buffer.

Port introduction of MSP430 microcontroller

Third, the role of the port

Someone once compared the server to a house and compared the port to a door to a different room (service). This is a good metaphor if you don't consider the details. If an intruder wants to occupy this house, it is necessary to break into the door (physical intrusion is said). Then, for the intruder, understand what kind of door the house has opened, what kind of door is there, and what is behind the door It is important.

The intruder usually scans the port of the target host with a scanner to determine which ports are open. From the open port, the intruder can know what services the target host provides, and then guess the possible vulnerabilities, so the port is Scanning can help us better understand the target host, and for administrators, scanning the open port of this machine is also the first step to take security precautions.

Port introduction of MSP430 microcontroller

MS001 3000puffs Vape

Ms001 3000Puffs Vape,Mini Electronic Cigarette,Vape Electric Cigarette,Electronic Cigarette Vape Puff Bar

Guangzhou Yunge Tianhong Electronic Technology Co., Ltd , https://www.e-cigaretteyfactory.com