HTTP connection Management 1

Source: Internet
Author: User
How HTTP is a TCP connection that uses TCP connections

Almost all HTTP traffic in the world is hosted by TCP/IP, and once the connection is established, messages exchanged between the client and server computers will never be lost, corrupted, or out of sequence.

Reliable data pipelines for TCP

TCP provides a reliable bit-transport pipeline for HTTP

The bytes that are filled in from one end of the TCP connection are transferred from the other end in the original order and correctly

TCP carries HTTP data in sequential, error-Free order

The TCP stream is segmented, transmitted by the IP packet.

TCP data is sent through small chunks of data called IP packets or IP datagrams.

TCP belongs to the transport layer, IP is located on the network layer

When HTTP sends a message, it is ordered and properly transmitted via an open TCP connection

TCP splits the data into blocks of data and encapsulates the blocks in the IP packet

The IP groupings include

An IP packet header

The IP header includes the IP address from which IP is sent to which IP is source and target, length and some other marks

A TCP segment Header

TCP header includes TCP port, TCP control token, collation

A block of TCP data

Keep the TCP connection running continuously

At any point in time the computer can have several TCP connections open. TCP is the port number to keep all these connections running continuously

HTTP connection Management 1

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.