The Wayback Machine - https://web.archive.org/web/20240628115654/https://www.geeksforgeeks.org/when-transmission-control-protocol-tcp-most-appropriate/
Open In App

When Transmission Control Protocol (TCP) most appropriate?

Last Updated : 03 Aug, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

TCP(Transmission Control Protocol) is a protocol of the Transport layer. TCP is a connection-oriented, reliable, and secured protocol. To provide reliable service TCP implements Error control, Congestion control, Flow control. 

Services provide by TCP :

  • The process to process communication –
    It is achieved using the port number.
  • Stream Delivery Service –
    It allows the sending process to deliver data as a stream of bytes.
  • Full Duplex services –
    It performs multiplexing and demultiplexing.
  • Reliable protocol –
    It uses an acknowledgement mechanism to check and sound arrival of data.
  • Connection oriented Services.

TCP uses Go back N and Selective Data and Selective Repeat protocol for reliable data transfer. Two types of acknowledgment are used by TCP, which are as follows:-

  1. Cumulative acknowledgment (Go-back-N)
  2. Selective acknowledgment (Selective Protocol)

Features of TCP :

1. Flow Control –
Flow Control is provided by TCP. The amount of data that is to be sent by the sender is being controlled by the receiver. This is done to prevent the receiver from being overloaded with data. TCP uses byte-oriented flow control.

2. Error Control –
The transport layer needs to be reliable because the underlying protocol IP is unreliable. Reliability can be achieved through error control. Error control at the transport layer includes:

  1. Detecting and discarding the corrupted packets.
  2. Keeping track of lost and discarded packets.
  3. Recognizing duplicate packets and discard them.
  4. Buffering out of order packet until the missing packet arrives.

Error control involves sending and receiving the transport layer.

3. Congestion Control –
Congestion in a network occurs if the load of the network is greater than the capacity of the network. The amount of data sent by the sender is not received by the receiver but is also determined by the level of congestion in the network. TCP takes into account congestion in the network.

When is Using the Transmission Control Protocol (TCP) Most Appropriate?
Hence, TCP is most appropriate when we need reliability and also when we have to send a small amount of data and we are expecting its immediate response.



Similar Reads

What is TCP (Transmission Control Protocol)?
TCP (Transmission Control Protocol) is one of the main protocols of the TCP/IP suite. It lies between the Application and Network Layers which are used in providing reliable delivery services. Transmission Control Protocol (TCP) ensures reliable and efficient data transmission over the internet. TCP plays a crucial role in managing the flow of data
6 min read
Stream Control Transmission Protocol (SCTP)
Stream Control Transmission Protocol (SCTP) is a network protocol that is connection-oriented and used for transmitting multiple streams of data simultaneously between any two endpoints that have established a connection in a computer network. SCTP is a transport layer of Internet Protocol (IP). SCTP support telephone connection over the internet.H
8 min read
Difference between Simplex Transmission Modes and Half Duplex Transmission Modes
Prerequisite – Transmission Modes in Computer Networks 1. Simplex Mode : Simplex mode is as on a one-way street, the communication is unidirectional, as on a one-way street. In this, only one of the two devices on a link can transmit, and the other can only receive. This mode uses the entire capacity of the channel to send data in one direction. Ex
2 min read
Difference between Simplex Transmission Modes and Full Duplex Transmission Modes
Prerequisite – Transmission Modes in Computer Networks 1. Simplex Mode :Simplex mode is as on a one-way street, the communication is unidirectional, as on a one-way street. In this, only one of the two devices on a link can transmit, and the other can only receive. This mode uses the entire capacity of the channel to send data in one direction. 2.
2 min read
Difference between Half duplex Transmission Modes and Full Duplex Transmission Modes
1. Half-duplex mode :Half-duplex mode is when the sender can send the data and also can receive the data one at a time. It is two-way directional i.e bi-directional communication but one at a time. 2. Full-duplex mode :Full duplex mode is when the sender can send the data and also can receive the data simultaneously. It is two-way directional i.e b
4 min read
TCP with explicit link failure notification (TCP-ELFN)
TCP with Explicit Link Failure Notification (TCP-ELFN) is an end to end approach used in TCP Ad Hoc wireless networks to improve the performance by decoupling the path break information from congestion information. TCP-ELFN does not depend upon any routing protocols as it requires explicitly only the link failure notification when there is a path f
2 min read
TCP Tahoe and TCP Reno
TCP is known as a connection-oriented protocol, which ensures reliability and is also responsible for congestion control mechanisms in the network. TCP Tahoe and TCP Reno are two techniques of TCP congestion control, these are used when the sender receives three duplicate acknowledgments. TCP Tahoe where Tahoe is a lake in the USA. This particular
4 min read
TCP Fast Open and TCP/IP Acceleration
The TCP Fast Open (TFO) and TCP/IP Acceleration are techniques used to improve the performance and efficiency of TCP connections in computer networks. These techniques aim to reduce the latency and improve the throughput of the TCP connections, especially for short-lived connections and web browsing scenarios. TCP Fast Open (TFO): The TCP Fast Open
3 min read
TCL script to perform appropriate arithmetic operations using switch statement
In this article, we will cover the overview of TCL script to perform appropriate arithmetic operations using the switch statement and will implement with the help of an example. Let's discuss it one by one. Pre-requisite -If you want to know more about TCL, then kindly go through this article, https://www.geeksforgeeks.org/basics-of-ns2-and-otcltcl
3 min read
Construct a simple HTTP request on TCP protocol
HTTP Request : HTTP messages are how data is exchanged between a server and a client. In this, there are two types of messages where one is HTTP client request and the second is the response from the server.Messages in textual form and it is encoded in ASCII form, and span over multiple lines. And messages were openly sent across the connection in
3 min read
Article Tags :