TCP (Transmission Control Protocol)


Transmission Control Protocol (TCP) is a connection-oriented, reliable, byte-stream transport layer communication protocol specified in IETF RFC 793. In a simplified computer network OSI model, it performs the functions specified at the transport layer (layer 4). UDP is another important transport protocol at the same layer.

In the Internet protocol suite, the TCP layer is positioned above the IP layer and below the application layer. Applications between different hosts often require reliable, pipe-like connections, but the IP layer does not provide such stream mechanisms, instead offering unreliable packet switching.

The application layer sends a data stream represented in 8-bit bytes to the TCP layer, which segments the data stream into appropriately sized packets (usually limited by the Maximum Transmission Unit (MTU) of the data link layer of the network to which the computer is connected). TCP then hands the resulting packets to the IP layer to send over the network to the receiving TCP layer. To ensure that no packets are lost, TCP assigns a sequence number to each byte, which also ensures that packets are received in order at the receiving entity. The receiving entity sends back an acknowledgment (ACK) for the successfully received bytes; if the sending entity does not receive an acknowledgment within a reasonable Round Trip Time (RTT), the corresponding data (assumed lost) will be retransmitted. TCP uses a checksum function to check for errors in the data; checksums are calculated both when sending and receiving.

A TCP connection includes three states: connection establishment, data transfer, and connection termination.


Wi-Fi Network Planning Advice

Answers & Suggestions

15 Tips for Hard Drive Longevity

Answers & Suggestions

10 Things About Image Analysis

Answers & Suggestions

知識學院

蘊藏許多助人的知識與智慧。

關注知識學院

By clicking "Accept All", you agree to our use of cookies to enhance your website experience, analyze performance, and deliver relevant marketing content. For more details, see our Privacy Policy. You can also manage your cookie preferences.

×

Privacy Policy

Welcome to our website. To help you use our services with confidence, we explain our privacy policy below to safeguard your rights. Please read the following information carefully:

  • Scope of the Privacy Policy: This privacy policy applies to all personal data collected by this website, including how we collect, process, and use such data when you use our services. This policy does not apply to other linked websites or personnel not managed by this website.
  • Collection, Processing, and Use of Personal Data: When you visit our website or use our services, we may ask for necessary personal information, which will be processed and used only for specified purposes. Without your written consent, we will not use your personal data for other purposes.
  • Data Protection: We adopt multiple security measures to protect your personal data, including firewalls and antivirus systems. Only authorized personnel can access your data, and they must sign confidentiality agreements. When we outsource services, we require that they comply with confidentiality obligations and ensure data security.
  • External Links: Our web pages may contain links to external websites. These linked websites do not fall under our privacy policy, and you should refer to their respective privacy policies.
  • Sharing Personal Data with Third Parties: We do not provide, exchange, rent, or sell your personal data to third parties, except as required by law or contractual obligations. We may share your data under the following circumstances:
    • With your written consent.
    • As required by law.
    • To protect your life, body, freedom, or property from danger.
    • For statistical or academic research with public institutions or academic research organizations, ensuring data is anonymized.
    • When your actions on the website violate the terms of service, necessitating identification, contact, or legal action.
  • Use of Cookies: To provide you with the best service experience, we use cookies on your device. If you do not wish to accept cookies, you can increase the privacy level in your browser settings to refuse cookies. This may, however, affect the availability of certain features.
  • Privacy Policy Revisions: We may revise the privacy policy as needed, and any changes will be published on this website to ensure you are informed of how we handle your personal data.