TCS Placement: Sample Questions 222 - 222 of 502

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 222

Describe in Detail Essay▾

What are the responsibilities of Transport Layer?

Edit

Explanation

The Transport Layer is responsible for source-to-destination delivery of the entire message. It provides following functions:

  • Service-point Addressing
    • Transport Layer header includes service point address that is a port address.
    • This layer gets the message to the correct process on the computer unlike Network Layer, which gets each packet to the correct computer.
  • Segmentation and reassembly
    • A message is divided into segments; each segment contains sequence number, which enables this layer in reassembling the message.
    • Message is reassembled correctly upon arrival at the destination and replaces packets lost in transmission.
  • Connection Control
    • It includes 2 types:
    • Connectionless Transport Layer: Each segment is considered an independent packet delivered to the transport layer at the destination machine.
    • Connection Oriented Transport Layer: Before delivering packets, connection is made with transport layer at the destination machine.
  • Flow Control

    This layer performs end-to-end flow control.

  • Error Control
    • This layer performs end-to-end error correction to ensure complete message at the receiving transport layer.
    • Error correction is done through retransmission.