Transport Layer.

Slides:



Advertisements
Similar presentations
Transmission Control Protocol (TCP)
Advertisements

Intermediate TCP/IP TCP Operation.
Guide to TCP/IP, Third Edition
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
UDP & TCP Where would we be without them!. UDP User Datagram Protocol.
Transmission Control Protocol (TCP) Basics
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
UNIT 07 Process – to – Process Delivery: UDP,TCP and SCTP
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
Process-to-Process Delivery:
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.
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.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
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.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Transmission Control Protocol (TCP)
23.1 Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
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.
Computer Networks23-1 PART 5 Transport Layer. Computer Networks23-2 Position of Transport Layer Responsible for the delivery of a message from one process.
1 Kyung Hee University PART 5 Transport Layer. 2 Kyung Hee University Role of position of Transport Layer  Overseeing the delivery of data from a process,
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
Process-to-Process Delivery:
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Chapter 7: Transport Layer
Introduction to Networks
Chapter 11 User Datagram Protocol
The Transport Layer Implementation Services Functions Protocols
Chapter 3 outline 3.1 Transport-layer services
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Pertemuan 25 TCP/IP Transport Layer
5. End-to-end protocols (part 1)
Process-to-Process Delivery, TCP and UDP protocols
Transport Layer Transport Services Addressing
Process-to-Process Delivery
TCP.
PART 5 Transport Layer Computer Networks.
Net 221D : Computer Networks Fundamentals
Today’s Agenda NOTE: Presentations will start 5:15PM vs 5PM – allow a little time to prep with team Cover Lecture 19 and 20 today SURPRISE: Will review.
TCP Transport layer Er. Vikram Dhiman LPU.
Introduction to Networks
Process-to-Process Delivery:
TCP - Part I Karim El Defrawy
Transport Layer Our goals:
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Advanced Computer Networks
CPEG514 Advanced Computer Networkst
PART V Transport Layer.
PART 5 Transport Layer.
Process-to-process delivery UDP TCP SCTP
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Transport Protocols: TCP Segments, Flow control and Connection Setup
Introduction to Computer Networks
Lecture 21 and 22 5/29/2019.
Transport Protocols: TCP Segments, Flow control and Connection Setup
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Layer 9/22/2019.
Presentation transcript:

Transport Layer

Learning Outcomes Understanding of end-to-end delivery and port address Understanding of well-known port numbers Understanding of different service types in the transport layer List of two transport layer protocols List of applications of UDP and applications of TCP Understanding of TCP connection/termination procedure

Topics discussed in this section: 1. INTRODUCTION The transport layer is responsible for process-to-process delivery (or also called end-to-end delivery) – the delivery of a packet, part of a message, from one process to another. Two processes communicate in a client/server relationship, as we will see later. Topics discussed in this section: Client/Server Paradigm Multiplexing and Demultiplexing Connectionless Versus Connection-Oriented Service Reliable Versus Unreliable Two Protocols

Note The transport layer is responsible for process-to-process (or also called end-to-end) delivery.

Types of data deliveries

Transport layer protocol + port number Port numbers OS assigns applications when socket() is invoked. bind() with applications. Transport layer protocol + port number

IP addresses versus port numbers

A bit different from different OSes. IANA ranges (client port numbers) A bit different from different OSes.

TCP UDP Services Connectionless Connection-oriented Block transfer Byte streaming Unreliable Reliable TCP UDP

Position of UDP, TCP, and SCTP in TCP/IP suite

Topics discussed in this section: 2. USER DATAGRAM PROTOCOL (UDP) The User Datagram Protocol (UDP) is called a connectionless, unreliable, block transfer protocol. It does not add anything to the services of IP except to provide process-to-process communication instead of host-to-host communication. Topics discussed in this section: Well-Known Ports for UDP User Datagram Checksum UDP Operation Use of UDP

Note: UDP is a connectionless, unreliable, block transfer protocol that has no flow and error control. It uses port numbers to multiplex data from the application layer.

Well-known ports used with UDP

User datagram format

Note: UDP is a convenient transport-layer protocol for applications that provide flow and error control. It is also used for short message transfer and by multimedia applications.

Topics discussed in this section: 3. TCP TCP is a connection-oriented protocol; it creates a virtual connection between two TCPs to send data. In addition, TCP uses flow and error control mechanisms at the transport level. Topics discussed in this section: TCP Services TCP Features Segment A TCP Connection Flow Control Error Control

TCP service Connection-oriented Full-duplex Byte streaming Reliable

Well-known ports used by TCP

Any size Any size Any size Byte stream delivery No overwriting, not like UDP

The numbering starts with a randomly generated number. Note The bytes of data being transferred in each connection are numbered by TCP. The numbering starts with a randomly generated number.

Numbering bytes Sequence number and acknowledge number Why do we need? Independent in each direction: full-duplex mode Not segment numbers, but byte numbers 0 ~ 232 - 1

TCP segment format

TCP segment format Source port address Destination port address Sequence number for the first byte of the payload Acknowledge number [Q] How to know whether ACK is valid? Header length: unit 4B Reserved Control field Window size With acknowledgement The size of the window, in bytes, of the opponent for flow control Maximum 65535 bytes The unit could be changed by using an option Checksum 16 bit checksum Urgent pointer Used when the urgent flag is set It points to the last byte of the urgent data Options

When the payload needs to be sent out of order, Control field When the payload needs to be sent out of order, e.g., it wants to abort the sending application, but it has already sent a huge amount of data. u.p. u.d. payload When the payload needs to be delivered without buffering that is used to increase the efficiency of TCP, called delayed transmission. E.g., SSH terminal session

Description of flags in the control field

Connection establishment using three-way handshaking 8001 Initial window size of the opponent included for flow control.

Data transfer

Connection termination using three-way handshaking X +1

Half-close x+1

to control the flow of data so that the destination does not become Note A sliding window is used to make transmission more efficient as well as to control the flow of data so that the destination does not become overwhelmed with data. TCP sliding windows are byte-oriented. What kind ARQ algorithm for error control? Selective Repeat ARQ