Thursday, 19 March 2020

TCP


TCP (Transmission Control Protocol): protocol number- 6
  • Transport layer protocol - connection-oriented protocol
  • Responsible for reliable delivery of data
  • transmission time is relatively less
  • Uses 3 way Handshake for establishing connection and 4 way handshake for closing
  • uses Windowing - sliding window and zero window
  • protocols such as HTTP, HTTPs, FTP, SMTP, Telnet uses TCP
TCP Features:
  • Stream based flow: it ensure stream delivery of data
  • MULTIPLEXING/DEMULTIPLEXING:  Able to run multiple applications with single ip using different port numbers.
  • ERROR DETECTION: using checksum
  • LOSS DETECTION: The segment get lost and never reached the destination
  • ERROR/LOSS RECOVERY: To overcome error and loss detection . Re-transmission takes place based on the buffer size.
  • FLOW CONTROL: To ensure whether both the sender and receiver have enough buffers to accommodate the data.
  • CONGESTION CONTROL: Ensuring the network has capacity of transferring the data through the underlying layers without any trafic.
  • RELIABILITY: TCP negotiates certain parameters to make it reliable, same bit order in the destination without any packet.
TCP windowing :
  • Used to avoid congestion in the traffic.
  • It controls the amount of unacknowledged data a sender can send before it gets an acknowledgement back from the receiver that it has received it.
  • It is one of the key factors for efficient data transmission.
  • It can also be known as a form of flow control where the host indicates the sender how much data can be accepted and wait for the further instructions.


No comments:

Post a Comment