ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Computer Networks
    COMP2119
    Progress0 / 24 topics
    Topics
    1. Introduction and Protocols Architecture2. Basic Concepts of Networking3. Network Topologies4. Layered Architecture5. Physical Layer Functionality6. Data Link Layer Functionality7. Multiple Access Techniques8. Circuit Switching and Packet Switching9. LAN Technologies10. Wireless Networks11. MAC Addressing12. Networking Devices13. Network Layer Protocols14. IPv4 and IPv615. IP Addressing16. Sub Netting17. CIDR18. Routing Protocols19. Transport Layer Protocols20. Ports and Sockets21. Connection Establishment22. Flow and Congestion Control23. Application Layer Protocols24. Latest Trends in Computer Networks
    CC-214›Transport Layer Protocols
    Computer NetworksTopic 19 of 24

    Transport Layer Protocols

    3 minread
    573words
    Beginnerlevel

    The Transport Layer is the fourth layer of the OSI (Open Systems Interconnection) model, and it plays a crucial role in managing the delivery of data across a network. This layer provides end-to-end communication services for applications, ensuring that data is transmitted reliably and in the correct order. Here’s an overview of the key transport layer protocols, their functionalities, and differences.

    Key Transport Layer Protocols

    1. Transmission Control Protocol (TCP)

      • Overview: TCP is a connection-oriented protocol that ensures reliable data transmission. It establishes a connection between sender and receiver before data transfer begins.

      • Key Features:

        • Reliability: Guarantees that data is delivered accurately and in the same order it was sent. This is achieved through mechanisms like error checking, acknowledgments, and retransmissions.
        • Flow Control: Uses a sliding window mechanism to manage the rate of data transmission, preventing overwhelming the receiver.
        • Congestion Control: Monitors network traffic and adjusts the transmission rate to avoid congestion.
        • Connection Establishment: Uses a three-way handshake process (SYN, SYN-ACK, ACK) to establish a connection.
      • Use Cases: TCP is commonly used in applications where reliability is critical, such as web browsing (HTTP/HTTPS), email (SMTP, IMAP), and file transfers (FTP).

    2. User Datagram Protocol (UDP)

      • Overview: UDP is a connectionless protocol that allows for faster data transmission by sending packets without establishing a connection or guaranteeing delivery.

      • Key Features:

        • Unreliable: Does not guarantee delivery, order, or error checking. Packets may arrive out of order, be duplicated, or get lost.
        • Low Overhead: Minimal protocol overhead allows for faster transmission, making it suitable for applications where speed is more important than reliability.
        • No Flow Control or Congestion Control: UDP does not manage the flow of data or adapt to network conditions.
      • Use Cases: UDP is often used in applications where speed is essential and some data loss is acceptable, such as video streaming, online gaming, voice over IP (VoIP), and DNS lookups.

    3. Stream Control Transmission Protocol (SCTP)

      • Overview: SCTP is a relatively newer transport layer protocol that combines features of both TCP and UDP. It is designed for transporting telephony and other types of data.

      • Key Features:

        • Multi-Homing: Supports multiple IP addresses for a single endpoint, enhancing reliability and redundancy.
        • Message-Oriented: Unlike TCP, which is byte-oriented, SCTP is message-oriented, allowing it to manage messages of varying sizes.
        • Reliable Delivery: Similar to TCP, SCTP provides reliable, in-order delivery of messages.
        • Multi-Stream Support: Allows multiple streams of data within a single connection, preventing head-of-line blocking (where one delayed packet affects the delivery of subsequent packets).
      • Use Cases: SCTP is often used in telecommunications and applications that require reliable message delivery with the need for multiple streams, such as telephony signaling (e.g., SIGTRAN).

    Key Differences Between TCP and UDP

    Feature TCP UDP
    Connection Connection-oriented Connectionless
    Reliability Reliable (guarantees delivery) Unreliable (no delivery guarantee)
    Ordering Ensures order of packets No guarantee on order
    Overhead Higher (due to error checking, etc.) Lower (minimal header)
    Flow Control Yes No
    Use Cases Web, email, file transfer Streaming, gaming, VoIP

    Conclusion

    Transport layer protocols like TCP, UDP, and SCTP play a vital role in enabling effective communication over networks, each serving different needs based on reliability, speed, and connection management. Understanding these protocols helps in selecting the right one for specific applications and ensuring optimal performance. If you have further questions or want to explore a particular aspect in more detail, feel free to ask!

    Previous topic 18
    Routing Protocols
    Next topic 20
    Ports and Sockets

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time3 min
      Word count573
      Code examples0
      DifficultyBeginner