About the basics of network programming
Tech

About the basics of network programming

About the basics of network programming

 

Basic knowledge of network programming

 

About the basics of network programming

About the basics of network programming

1. Local Area Network and Internet

In order to achieve communication between two computers, a network cable must be used to connect the two computers. The so-called server refers to the computer or program that provides information, and the client refers to the computer or program that requests information. They communicate with each other through the network. communication.

 

2. Wide Area Network (WAN)

Although the local area network has a small coverage area compared to the wide area network, its construction cost is low and the transmission speed is fast.

Network connection:

In order to realize the communication between different terminals in the network, each terminal must have a unique identification value—-IP address

IP address:

IP address refers to the Internet protocol address. The IP address is a unified address format provided by the IP protocol. It assigns a logical address to each network and each host on the Internet, and each Internet packet must carry an IP Address, each Internet service provider (ISP) must apply for a set of IP addresses from the relevant organizations, and then dynamically assign them to their users, and generally let the system automatically assign IP addresses to shield the differences in physical addresses.

About the basics of network programming About the basics of network programming

MAC address:

MAC address is an address used to confirm the location of devices on the network.

Generally speaking, the MAC address is written into the hardware by the manufacturer during production. It has nothing to do with the network. No matter where the device with this address is connected to the network, it has the same MAC address and users cannot change it by themselves. , And the IP address is realized by software, it is the address used by the network layer and its upper layer, and is not limited by the hardware.

About the basics of network programming About the basics of network programming

Port number:
The port is not a real physical existence, but an imaginary connection setting, users have to distinguish between different applications.

About the basics of network programming About the basics of network programming About the basics of network programming About the basics of network programming

About the basics of network programming
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

To Top