What TCP/IP is, what is TCP, what is IP, and what is the difference between HTTP

Source: Internet
Author: User

Reference content:
Http://baike.baidu.com/link?url= 6rsx0yrjy8chn4b0kflmjkdl23xutqxo6aziaxbh2ealwcxuuxmy-2ijhhciqifa8q20vg6ew9ps4ef9qrchbq#2_6 TCP/IP

TCP/IP is a shorthand for the transmission Control protocol/internet Protocol, which is the most basic protocol for the Internet, which is the transmission Protocol/Internet Protocol. TCP/IP is a generic term for this protocol family, and it takes a 4-tier hierarchy, not the sum of TCP + IP two Protocols IP

The IP protocol contains the source host address, destination host address, and TCP data information. However, the IP protocol does not do anything to confirm whether packets are sent sequentially or if packets are corrupted, so IP packets are unreliable. TCP

Connection-oriented communication protocol, through three handshake to establish a connection (socket through TCP/IP connection is 3 times handshake), communication is completed to close the connection, it is only used for end-to-end communication
The TCP protocol establishes a reliable connection through a 3-time handshake, which provides a reliable data flow service by sequencing and verifying the packets.
TCP can limit the speed of data transmission and indirectly control traffic UDP

For a non-connected communication protocol, UDP data includes the original port number information and the target port number information, it can be broadcast sent
Because UDP communication does not require the receiver to confirm, so it is unreliable transmission, may appear packet loss data format

Data frame: Frame header +ip packet + frame end
The frame header includes the source and destination host MAC address and type, and the end of the frame is the check word

IP packet: IP header +tcp Data information
IP header includes source IP address and destination host IP address

TCP Data information: TCP header + Actual data
TCP header includes source port number and target host port number, shun sequence number, confirmation number, check word network model

OSI seven-layer model

But the TCP/IP protocol family uses a four-tier structure

The protocols for each layer in the four-tier model are as follows

TCP belongs to Transport layer protocol, IP is Network layer protocol
Common protocols for application tiers are TELNET,FTP,SMTP,SNMP HTTP

HTTP is an application-level protocol, and we typically request that the network be using HTTP, without the need to directly use both TCP and IP protocols

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.