ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.

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

Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 6 Transport Layer.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transmission Control Protocol (TCP)
Intermediate TCP/IP TCP Operation.
Lecture 7 Transport Layer
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Chapter 7 – Transport Layer Protocols
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 26 Introduction to Computer Networks.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
1 School of Computing Science Simon Fraser University CMPT 771/471: Internet Architecture and Protocols Socket Programming Instructor: Dr. Mohamed Hefeeda.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
Gursharan Singh Tatla Transport Layer 16-May
Process-to-Process Delivery:
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
TCP/IP Networking Review Covered Subjects:  Packet Switched Network Structure  Issues of PSNs  Ports & IP Numbers  Delivery Services  Domain Name.
6.1. Transport Control Protocol (TCP) It is the most widely used transport protocol in the world. Provides reliable end to end connection between two hosts.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Chapter 6 The Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
The Transport Layer.
ECE453 – Introduction to Computer Networks Lecture 14 – Transport Layer (I)
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Chapter 2 Applications and Layered Architectures Sockets.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
Networking Basics CCNA 1 Chapter 11.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 5.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
4343 X2 – The Transport Layer Tanenbaum Ch.6.
1 Kyung Hee University Chapter 11 User Datagram Protocol.
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Network Communications A Brief Introduction. 2 Network Communications.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
1 K. Salah Application Layer Module K. Salah Network layer duties.
Process-to-Process Delivery:
The Transport Layer Dr. ir. S.S. Msanjila RIS 251.
3. END-TO-END PROTOCOLS (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 22 March
SOCKET PROGRAMMING Presented By : Divya Sharma.
Chapter 11 User Datagram Protocol
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
5. End-to-end protocols (part 1)
Transport Layer.
Process-to-Process Delivery, TCP and UDP protocols
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
CSC Advanced Unix Programming, Fall 2015
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Layer 9/22/2019.
Presentation transcript:

ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26

ICOM 6115©Manuel Rodriguez-Martinez Lecture Objectives Introduction to Transport Layer –Layer 4 –User Datagram Protocol (UDP) –Transmission Control Protocol (TCP)

ICOM 6115©Manuel Rodriguez-Martinez Transport Layer Provides reliable, cost-effective way to move data between two applications –independent of type of layer 3 Application level API often interact with this module Sockets are built on top of transport layer –TCP Sockets –UDP Sockets

ICOM 6115©Manuel Rodriguez-Martinez Layer 3, Layer 4 and Layer 5 Stack

ICOM 6115©Manuel Rodriguez-Martinez Transport services Connectionless –Blocks of data sent over datagrams Targeted for a specific process on a given machine Connection-oriented –Reliable stream of bytes sent between two processes –Adds reliability to layer 3 Transport entity –Module that uses the network layer to move data (inside OS of hosts)

ICOM 6115©Manuel Rodriguez-Martinez Typical Operations LISTEN (usually server side) –Wait for a connection to occur CONNECT (usually client side) –Request a connection to be established SEND –Move some amount of data between processes RECEIVE –Accepts some amount of data DISCONNECT (bidirectional) –Terminate the connection

ICOM 6115©Manuel Rodriguez-Martinez Encapsulation at layer 4 Data is packaged into TPDU –TPDU – Transport Protocol Data Unit

ICOM 6115©Manuel Rodriguez-Martinez Typical State Transition Diagram

ICOM 6115©Manuel Rodriguez-Martinez Addressing Transport layer identifies process by: – Idea –Layer 3 Address identifies host on which process is running Network Service Access Point (NSAP) IP address –Port uniquely identifies a process on that host Transport Services Access Point (TSAP) Applications use to port to index data structure where data is placed –Send and receive operations

ICOM 6115©Manuel Rodriguez-Martinez Example of NSAPs and TSAPs

ICOM 6115©Manuel Rodriguez-Martinez Connection daemon

ICOM 6115©Manuel Rodriguez-Martinez Connection daemon Connection daemon is used to spawn a new process to service a client request Often used if we do not want to have a server running all the time on background –Ex. inetd can spawns telnet processes OS must support way to pass variable –Pass context of process –UNIX Fork() operation –Windows Threads

ICOM 6115©Manuel Rodriguez-Martinez Demultiplexing data Layer 4 Layer 3 Process Message Queues Port

ICOM 6115©Manuel Rodriguez-Martinez User Datagram Protocol (UDP) Provides a mechanism to send datagrams between processes –Blocks of data are sent Just adds port information on top of IP packet –Can arrive delayed, out of order, or get lost Unreliable services –Need to add ACKs if you want more Some applications that use it –DNS (Domain Name Services) –NFS (Network File System)

ICOM 6115©Manuel Rodriguez-Martinez UDP Header

ICOM 6115©Manuel Rodriguez-Martinez Transmission Control Protocol (TCP) Provides a reliable byte stream between processes Data is guaranteed to –arrive safely –Be organized in the proper order and read in order TCP streams provide the abstraction of a byte stream –Like a file

ICOM 6115©Manuel Rodriguez-Martinez TCP Byte Stream

ICOM 6115©Manuel Rodriguez-Martinez Buffering Data in TCP Data is buffered until enough is present to be sent or read Alternatively, the buffer can be flushed to force data out

ICOM 6115©Manuel Rodriguez-Martinez TCP Header

ICOM 6115©Manuel Rodriguez-Martinez TCP Three Way Handshake Use to establish a connection Client sends SYN message with a seq number x Server replies with –SYN indicating its own sequence numbers y –ACK indicating it expects data with seq x + 1 Client replies with ACK indicating it expects data with seq y + 1 Sequence numbers address bytes!

ICOM 6115©Manuel Rodriguez-Martinez Timeline diagram

ICOM 6115©Manuel Rodriguez-Martinez Some Issues Need to way for 3-way handshake before sending data –How long is this? This is bad for short live connection that send little data –HTPP request with small number of images