Ch14_15_UDP_TCP - 1 Transport Layer - UDP & TCP...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Transport Layer - UDP & TCP Protocols "I cannot teach anybody anything, I can only make them think.- Socrates 2 Transport Layer - UDP & TCP Protocols Connectionless & connection-oriented protocols User Datagram Protocol (UDP) UDP Datagram Format Transmission Control Protocol (TCP) TCP Features and Segment Format Flow Control Mechanism and Congestion Control Sections 14.5, 15.5 & 15.10 to 15.12 will not be discussed 3 Fig: 14.1 Position of UDP & TCP in TCP/IP protocol suite SCTP - Stream Control Transmission Protocol 4 Fig: 13.1 Network layer versus transport layer 5 Connection-oriented & Connectionless protocols & services Why are they called connection-oriented and connectionless? What are their distinct characteristics? Why these different protocols are needed? Examples of connection-oriented and connectionless transport protocols 6 Connection-oriented protocols Three phases: Connection setup Data transfer Connection release A connection need to be setup between end points prior to the data transfer Data delivery, integrity and sequencing are guaranteed Connection is released after the data transfer Better suited for applications that require guaranteed delivery, but can tolerate some delays E.g. TCP (Transmission Control Protocol) 7 Connectionless protocols No connection setup necessary prior to data transfer Each datagram is routed independently and can take different paths through the network; therefore datagrams could arrive at the destination out of sequence Best-effort delivery (no guaranteed delivery) No connection release phase after data transfer Less overhead and therefore fast (less delay) Better suited for applications needing low delay but can tolerate some data losses (E.g. voice applications) Examples: IP and UDP (User Datagram Protocol) 8 Transport Protocols How can a connection-oriented transport protocol (like TCP) provide guaranteed data delivery, integrity and sequencing when they have to use connectionless IP at the network layer? The connection-oriented transport protocol (like TCP) has to implement additional procedures at the transport layer for ensuring data delivery, integrity and sequencing This is at the cost of more overhead and processing time (thus slower than connectionless protocols) 9 User Datagram Protocol (UDP) - RFC 768 Provides a minimal, simple, and best-effort transport layer protocol, as some applications do not require the robustness of TCP Provides a connection-less service to applications Reliable data delivery or delivery of data in the correct sequence are not guaranteed Faster and more efficient than TCP Examples of applications using UDP: DNS (Domain Name System) SNMP (Simple Network Management Protocol) 10 Figure 14.5 Encapsulating UDP in IP Datagrams & Decapsulation 11 Figure 14.2 User datagram format Source & destination ports : identifies the source and...
View Full Document

Page1 / 50

Ch14_15_UDP_TCP - 1 Transport Layer - UDP & TCP...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online