COMPUTER NETWORKS CS610 Lecture-36 Hammad Khalid Khan.

Slides:



Advertisements
Similar presentations
Introduction 1 Lecture 13 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
Advertisements

1 Transport Protocols & TCP CSE 3213 Fall April 2015.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
CSCI 4550/8556 Computer Networks
Transmission Control Protocol (TCP)
Transport Layer3-1 TCP. Transport Layer3-2 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional data flow in same connection.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
Chapter 7 – Transport Layer Protocols
- Reliable Stream Transport Service
TDC365 Spring 2001John Kristoff - DePaul University1 Internetworking Technologies Transmission Control Protocol (TCP)
Transport Layer 3-1 Transport Layer r To learn about transport layer protocols in the Internet: m TCP: connection-oriented protocol m Reliability protocol.
IP Basics. Physical Link Network IP ARP ICMP RoutingTables.
Autumn 2000John Kristoff1 Transport Layer Computer Networks.
Reliable Networking Systems The goals: Implement a reliable network application of a file sharing network. Implement a reliable network application of.
IP Basics. IP encapsulates TCP IP packets travel through many different routers (hops) before reaching it’s destination MTU variation at the physical.
Transport Layer3-1 Data Communication and Networks Lecture 7 Transport Protocols: TCP October 21, 2004.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
1 Chapter Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
1 Transport Layer Computer Networks. 2 Where are we?
CS 4396 Computer Networks Lab
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_b Transport Protocols - TCP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
TCP Lecture 13 November 13, TCP Background Transmission Control Protocol (TCP) TCP provides much of the functionality that IP lacks: reliable service.
University of the Western Cape Chapter 12: The Transport Layer.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Networked & Distributed Systems TCP/IP Transport Layer Protocols UDP and TCP University of Glamorgan.
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
1 TCP: Reliable Transport Service. 2 Transmission Control Protocol (TCP) Major transport protocol used in Internet Heavily used Completely reliable transfer.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
81 Sidevõrgud IRT 0020 loeng okt Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Transmission Control Protocol (TCP) BSAD 146 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 9.
UDP & TCP Where would we be without them!. UDP User Datagram Protocol.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
Two Transport Protocols Available Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Provides unreliable transfer Requires minimal – Overhead.
Chapter 3: The Data Link Layer –to achieve reliable, efficient communication between two physically connected machines. –Design issues: services interface.
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Chapter 9: Transport Layer
Fast Retransmit For sliding windows flow control we waited for a timer to expire before beginning retransmission of a packet TCP uses an additional mechanism.
Instructor Materials Chapter 9: Transport Layer
v3 JEOPARDY CCNA 1 Module 11 CCNA1 v3 Module 11 Galo Valencia
5. End-to-end protocols (part 1)
Module 1 UDP & TCP.
Process-to-Process Delivery, TCP and UDP protocols
© 2003, Cisco Systems, Inc. All rights reserved.
PART 5 Transport Layer Computer Networks.
6 Transport Layer Computer Networks Tutun Juhana
Magda El Zarki Professor, ICS UC, Irvine
Process-to-Process Delivery:
Introduction of Transport Protocols
Internet and Intranet Protocols and Applications
Precept 2: TCP Congestion Control Review
CS4470 Computer Networking Protocols
Dr. John P. Abraham Professor UTPA
Dr. John P. Abraham Professor UTPA
COMPUTER NETWORKS CS610 Lecture-35 Hammad Khalid Khan.
The Transmission Control Protocol (TCP)
COMPUTER NETWORKS CS610 Lecture-41 Hammad Khalid Khan.
The Transport Layer Reliability
TCP III - Error Control TCP Error Control.
COMPUTER NETWORKS CS610 Lecture-37 Hammad Khalid Khan.
Lecture 21 and 22 5/29/2019.
Presentation transcript:

COMPUTER NETWORKS CS610 Lecture-36 Hammad Khalid Khan

Review Lecture 35 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

Packet Loss and Retransmission How does TCP achieve Reliability? Retransmission An Acknowledgement is used to verify that data has arrived successfully. If Acknowledgement does not arrive, the previous data is retransmitted.

Packet Loss and Retransmission

How Long Should TCP Wait Before Retransmitting? Time for acknowledgement to arrive depends on Distance to destination Current traffic conditions Multiple connections can be opened simultaneously. Traffic conditions change rapidly.

Adaptive Retransmission Set a timer. It sounds so easy, but …What time interval? Too long? You are spending time waiting for something that is just not going to happen. Too short? You will resend needlessly.

Adaptive Retransmission Keep estimate of round trip time on each connection Use current estimate to set transmission timer Know as Adaptive Retransmission Key to TCP’s success

Comparison of Retransmission Times

Buffers, Flow Control & Windows

Three-Way Handshake to Close a Connection

Three-way Handshake to Begin a Connection This will not mean much until you look at the packets, but SYN Randomly chosen sequence number, S1:0 SYN + ACK S2:S1+1 ACK S1+1:S2+1

Summary Packet Loss and Retransmission Adaptive Retransmission Buffers, Flow Control & Windows Three-Way Handshake