COMPUTER NETWORKS CS610 Lecture-35 Hammad Khalid Khan
Review Lecture 34 The need for End –to-End Protocols User Datagram Protocol Characteristics of UDP The Connectionless Paradigm Message-Oriented Interface UDP Communication Semantics Arbitrary Interaction Support for Multicast and Broadcast Endpoint Identification
UDP Datagram Format
UDP Encapsulation
TCP: Reliable Transport Service Chapter 25 TCP: Reliable Transport Service
Introduction TCP: Major Transport Protocol in the TCP/IP suite Uses unreliable datagram service offered by IP when sending data to another computer Provides reliable data delivery service to applications
The Need for Reliable Transport Reliability is fundamental in a computer system Software in the internet must provide the same level of reliability as a computer system Software must guarantee prompt and reliable communication without any loss, duplication, and change in the order
Transmission Control Protocol Reliability is the responsibility of the Transport Layer In TCP/IP, TCP provides reliable transport service Most internet applications use TCP as no other protocol has proved to work better
Service provided by TCP Connection-Oriented service Point-to-point Complete Reliability Full-duplex communication Stream interface Reliable Connection Startup Graceful Connection Shutdown
End-to-End Service and Datagrams Applications can request a connection TCP connections are called Virtual Connections Created by Software only Internet does not provide software or hardware support for the connections TCP software modules on two computers create an illusion of a connection
End-to-End Service and Datagrams TCP uses IP to carry messages TCP message encapsulated in IP datagram and sent to the destination On the destination host, IP passes the contents to TCP
End-to-End Service and Datagrams
Achieving Reliability The major problems in the reliable delivery are: Unreliable delivery by the underlying communication system System reboot
Summary UDP datagram Format UDP Encapsulation TCP: Reliable Transport Service The Need For Reliable Transport Service Provided by TCP End-to-End Service and Datagrams Achieving Reliablility