TCP/UDP protocol, and HTTP, FTP, SMTP

Source: Internet
Author: User
Tags ftp file ftp file transfer

Copyright belongs to the author.
Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.
Vincent Wang
Links: http://www.zhihu.com/question/20583641/answer/20242980
Source: Know

The main meaning is popular, originally uploaded several layers of model, know that the map is too difficult, perhaps I upload the method is not right, the other often used ID audit has been through, look at the sky.

OSI model is mainly used as a general model to do theoretical analysis, and the TCP/IP protocol model is the actual communication protocol of the Internet, the two generally do mapping analysis, the following do not make strict distinctions and statements (well, lazy);

The OSI model hierarchy can be broadly divided into 3 main levels
|............. The host ........ | Applications, representations, sessions, such as operating systems and software
|............. The network ........ | Internet and related protocol transmission, Network (TCP/IP)
|............. The medium ........ | Physical media-related data links, physical
model for OSI

1, the host needs network transmission data, The network is essentially a service, and the interface between the host and the network depends on the transport layer, it's like you're going to send something by courier;
2, the network can provide two kinds of services:
1) Reliable, connection-oriented; (TCP) is like a dependable courier, every step has feedback and monitoring, of course, the price is hehe ...
2) unreliable, best-effort transmission (UDP) is like some of the non-reliable express or listen to the XX Express, the price is low, but can be relied on luck.
3, two services do not have the so-called good or bad, TCP reliability is the need to consume a lot of resources, low efficiency (chunks, important documents, etc.)
UDP does not guarantee reliability, but high efficiency (video, voice, unimportant small files, etc.)

4, while the other " HTTP, FTP, SMTP and so on so-called "Application-layer Protocol" protocolRefers to the application of specific functions in the framework of TCP/IP communication protocol (HTTP is used for Hypertext transfer, FTP file transfer, SMTP processing mail, etc.), the relationship between the two, cough, the relationship between the popular said:

TCP and UDP and IP protocols are the basis of Internet communication, like the Constitution, and application agreements are like specific criminal law, Civil Code, marriage law, the Protection of Minors Act ... And so on, in a certain area of the specific application and implementation, but the most basic one: unconstitutional invalid.
the model is a TCP/IP stack

TCP/UDP protocol, and HTTP, FTP, SMTP

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.