Linux Network Programming Note 01

Source: Internet
Author: User

1. The purpose of computer networking

1) using remote resources

2) Sharing of information, programs and data

3) distribution processing

2. the concept of a protocol

1) Communication between any two computers in the network must have some conventions (for example, transmission rate, data format, error detection mechanism, etc.), this Convention , we call it an agreement.

2) in the Internet , the most common network protocol is the TCP/IP protocol

3) What is the TCP/IP protocol :TheTCP/IP protocol is actually a protocol family that contains TCP, UDP, IP, T elnet, http, etc.

3. Network layering model

1) There are two types of network layering models: The seven-tier model of OSI(Open System Internet) Open Systems Interconnection developed by the International Standards Organization, and TCP/IP Model

2) functions of each layer

a) Physical layer: The interface between the network and the hardware device, which can be considered a network card

b) Data Link layer: Establish data link between two computers, make data error check, then transmit signal to physical layer (data )

c) Network layer: The main responsibility for routing (routing is to find the a->b between two computers to communicate the best path ), the router works in the network layer

d) Transport Layer: Provides reliable, point-to-point data transfer to the user

e) Session Layer: Responsible for communication between two session processes

f) Presentation layer: Encryption and decryption of data

g) Application layer: Provide services to users, such as http, ftp,talenet four- tier model

4. What are the TCP/IP protocol families? ?What is the level of the distinction?

The application layer contains tcp/ip protocol: telnet ( remote login ), FTP protocol, SMTP () DNS, SNMP

2) the TCP/IP protocol included in the transport layer is:TCP, UDP

3) the TCP/ IP protocol included in the network layer is: the Internet protocol (mainly used by routers)

5. Analyze the TCP/IP protocol family again

1) the TCP/IP protocol is actually a communication family, which contains various protocols on various layers ( 5 o ' clock description), the main topics are divided into three categories

2) IP protocol in the network layer , TCP in the Transport layer , UDP Protocol, Telnet in the application layer , FTP, DNS, SMTP ( Mail Transfer ), http.


This article is from the "BRUCECYC" blog, make sure to keep this source http://brucecyc.blog.51cto.com/11016337/1934215

Linux Network Programming Note 01

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.