SlideShare a Scribd company logo
1 of 28
Transport Layer
(end-to-end communication)
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Objective
• Elements of Transport Protocols
• Internet Transport Protocols: TCP
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Elements of Transport
Protocols
• The transport service- Transport protocol used
between the two transport entities
• As all other layers, this layer communicates with
its peer Transport layer of the remote host
• Transport layer offers peer-to-peer and end-to-
end connection between two processes on
remote hosts.
• Transport layer takes data from upper layer (i.e.
Application layer) and then breaks it into smaller
size segments, numbers each byte, and hands
over to lower layer (Network Layer) for delivery.
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Establishing A Connection
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Addressing
• Process wishes to set up a connection to a
remote application process, it must specify
which one to connect to
• The method normally used is to define
transport addresses to which processes can
listen for connection requests
• In the Internet, these end points are called
ports
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• We will use the generic term TSAP, (Transport
Service Access Point)
• The analogous end points in the network layer
(i.e., network layer addresses) are then called
NSAPs.
• IP addresses are examples of NSAPs
• The relationship between the NSAP, TSAP and
transport connection illustrates in figure
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
A possible scenario for a transport
connection is as follows
1. A time of day server process on host 2 attaches itself to TSAP
1522 to wait for an incoming call
TSAP is outside the networking model and
depends entirely on the local operating system
A call such as our LISTEN might be used
2. An application process on host 1 wants to find out the time-of-
day.
So it issues a CONNECT request specifying TSAP 1208 as the source
and TSAP 1522 as the destination
3. The application process then sends over a request for the time
4. The time server process responds with the current time
5. The transport connection is then released
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• Instead - conceivable server listening at a well-known TSAP, each
machine that wishes to offer services to acts as a proxy for less
heavily used servers
• It listens to a set of ports at the same time, waiting for a connection
request
• Potential users of a service begin by doing a CONNECT request,
specifying the TSAP address of the service they want.
• If no server is waiting for them, they get a connection to the
process server 6.9(a)
• After it gets the incoming request, the process server spawns the
requested server, allowing it to inherit the existing connection with
the user.
• The new server then does the requested work, while the process
server goes back to listening for new requests, as shown in Fig. 6-
9(b)
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Time of day server
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• An alternative scheme is often used
• In this model, there exists a special process called
a name server or sometimes a directory server
• To find the TSAP address corresponding to a given
service name, such as ''time of day,'' a user sets
up a connection to the name server
• In this model, when a new service is created, it
must register itself with the name server, giving
both its service name (typically, an ASCII string)
and its TSAP
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Connection Establishment
• Transport entity to just send a CONNECTION
REQUEST TPDU to the destination and wait for
a CONNECTION ACCEPTED reply
• Packet lifetime can be restricted to a known
maximum using one (or more) of the following
techniques:
• 1. Restricted subnet design
• 2. Putting a hop counter in each packet
• 3. Time stamping each packet
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• The Transaction Protocol Data Unit (TPDU)
• Figure 6-11. Three protocol scenarios for
establishing a connection using a three-way
handshake. CR denotes CONNECTION REQUEST.
• (a) Normal operation.
• (b) Old duplicate CONNECTION REQUEST
appearing out of nowhere.
• (c) Duplicate CONNECTION REQUEST and
duplicate ACK.
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
DISCONNECT
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• Figure 6-14. Four protocol scenarios for
releasing a connection.
• (a) Normal case of three-way handshake
• (b) Final ACK lost
• (c) Response lost
• (d) Response lost and subsequent DRs lost
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Flow Control and Buffering
• The network service is unreliable, the sender
must buffer all TPDUs sent, just as in the data
link layer
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Multiplexing
• Multiplexing - connections, virtual circuits,
and physical links plays a role in several layers
of the network architecture
• In the transport layer the need for
multiplexing can arise in a number of ways
• Note: Multiplexing is a technique used to
combine and send the multiple data streams
over a single medium
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• If only one network address is available on a
host, all transport connections on that
machine have to use it
• When a TPDU comes in, some way is needed
to tell which process to give it to
• This situation called upward multiplexing
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• If a user needs more bandwidth than one
virtual circuit can provide, a way out is to open
multiple network connections and distribute
the traffic among them on a round-robin
basis, as indicated in Fig. 6-17(b)
• This modus operandi is called downward
multiplexing
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Crash Recovery
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
• Hosts and routers are subject to crashes, recovery
from these crashes becomes an issue
• Three events are possible at the server:
• sending an acknowledgement (A)
• writing to the output process (W) and crashing
(C)
• The three events can occur in six different
orderings: AC(W), AWC, C(AW), C(WA), WAC, and
WC(A), where the parentheses are used to
indicate that neither A nor W can follow C
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Crash Recovery
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW
Summary
• Elements of Transport Protocols
– Establishing A Connection
– Addressing
– A possible scenario for a transport connection is as follows
– Time of day server
– Connection Establishment
– DISCONNECT
– Flow Control and Buffering
– Multiplexing
– Crash Recovery
Prepared by, Dr.T.Thendral, Assistant
Professor, SRCW

More Related Content

What's hot (20)

Bluetooth.ppt
Bluetooth.pptBluetooth.ppt
Bluetooth.ppt
 
Networking and Internetworking Devices
Networking and Internetworking DevicesNetworking and Internetworking Devices
Networking and Internetworking Devices
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
 
MVA slides lesson 3
MVA slides lesson 3MVA slides lesson 3
MVA slides lesson 3
 
IPv4
IPv4IPv4
IPv4
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Dcn ppt on data link layer
Dcn ppt on data link layerDcn ppt on data link layer
Dcn ppt on data link layer
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Transport layer protocols : TCP and UDP
Transport layer protocols  : TCP and UDPTransport layer protocols  : TCP and UDP
Transport layer protocols : TCP and UDP
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
 
FTP & TFTP
FTP & TFTPFTP & TFTP
FTP & TFTP
 
Data link layer (Unit 2).pdf
Data link layer (Unit 2).pdfData link layer (Unit 2).pdf
Data link layer (Unit 2).pdf
 
The Network Layer
The Network LayerThe Network Layer
The Network Layer
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
MVA slides lesson 1
MVA slides lesson 1MVA slides lesson 1
MVA slides lesson 1
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
Channel Allocation.pptx
Channel Allocation.pptxChannel Allocation.pptx
Channel Allocation.pptx
 
Application Layer
Application LayerApplication Layer
Application Layer
 
Network layer
Network layerNetwork layer
Network layer
 
MVA slides lesson 2
MVA slides lesson 2MVA slides lesson 2
MVA slides lesson 2
 

Similar to Transport Layer.pptx

Transport_Layer (1).pptx
Transport_Layer (1).pptxTransport_Layer (1).pptx
Transport_Layer (1).pptxSAICHARANREDDYN
 
Unit-4 (1).pptx
Unit-4 (1).pptxUnit-4 (1).pptx
Unit-4 (1).pptxpoonamsngr
 
Network performance overview
Network  performance overviewNetwork  performance overview
Network performance overviewMy cp
 
Transmission Control Protocol_ Computer Networks
Transmission Control Protocol_ Computer NetworksTransmission Control Protocol_ Computer Networks
Transmission Control Protocol_ Computer NetworksManimaran A
 
Jaimin chp-6 - transport layer- 2011 batch
Jaimin   chp-6 - transport layer- 2011 batchJaimin   chp-6 - transport layer- 2011 batch
Jaimin chp-6 - transport layer- 2011 batchJaimin Jani
 
Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07Ali Habeeb
 
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdfNetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdfoptokunal1
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer servicesMelvin Cabatuan
 

Similar to Transport Layer.pptx (20)

Transport_Layer (1).pptx
Transport_Layer (1).pptxTransport_Layer (1).pptx
Transport_Layer (1).pptx
 
Transport layer
Transport layer Transport layer
Transport layer
 
Unit-4 (1).pptx
Unit-4 (1).pptxUnit-4 (1).pptx
Unit-4 (1).pptx
 
Transaction TCP
Transaction TCPTransaction TCP
Transaction TCP
 
Network performance overview
Network  performance overviewNetwork  performance overview
Network performance overview
 
Transport layer
Transport layerTransport layer
Transport layer
 
Transmission Control Protocol_ Computer Networks
Transmission Control Protocol_ Computer NetworksTransmission Control Protocol_ Computer Networks
Transmission Control Protocol_ Computer Networks
 
Transport layer.pptx
Transport layer.pptxTransport layer.pptx
Transport layer.pptx
 
08 coms 525 tcpip - tcp 1
08   coms 525 tcpip - tcp 108   coms 525 tcpip - tcp 1
08 coms 525 tcpip - tcp 1
 
Tcp3 wayhandshakeprocess
Tcp3 wayhandshakeprocessTcp3 wayhandshakeprocess
Tcp3 wayhandshakeprocess
 
Jaimin chp-6 - transport layer- 2011 batch
Jaimin   chp-6 - transport layer- 2011 batchJaimin   chp-6 - transport layer- 2011 batch
Jaimin chp-6 - transport layer- 2011 batch
 
Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07
 
Transport layer
Transport layerTransport layer
Transport layer
 
Bg4101335337
Bg4101335337Bg4101335337
Bg4101335337
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
Tcp
TcpTcp
Tcp
 
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdfNetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
 
Transport layer
Transport layerTransport layer
Transport layer
 
Ba25315321
Ba25315321Ba25315321
Ba25315321
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 

More from DrTThendralCompSci

SOFTWARE QUALITY ASSURANCE.ppt
SOFTWARE QUALITY ASSURANCE.pptSOFTWARE QUALITY ASSURANCE.ppt
SOFTWARE QUALITY ASSURANCE.pptDrTThendralCompSci
 
Software Configuration Management.ppt
Software Configuration Management.pptSoftware Configuration Management.ppt
Software Configuration Management.pptDrTThendralCompSci
 
Software design and Software engineering.pptx
Software design and Software engineering.pptxSoftware design and Software engineering.pptx
Software design and Software engineering.pptxDrTThendralCompSci
 
Software design and Software engineering.pptx
Software design and Software engineering.pptxSoftware design and Software engineering.pptx
Software design and Software engineering.pptxDrTThendralCompSci
 
Unit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptUnit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptDrTThendralCompSci
 
Unit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptUnit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptDrTThendralCompSci
 

More from DrTThendralCompSci (14)

Loader and linker.pptx
Loader and linker.pptxLoader and linker.pptx
Loader and linker.pptx
 
SOFTWARE QUALITY ASSURANCE.ppt
SOFTWARE QUALITY ASSURANCE.pptSOFTWARE QUALITY ASSURANCE.ppt
SOFTWARE QUALITY ASSURANCE.ppt
 
Software Configuration Management.ppt
Software Configuration Management.pptSoftware Configuration Management.ppt
Software Configuration Management.ppt
 
UNIT TESTING.pptx
UNIT TESTING.pptxUNIT TESTING.pptx
UNIT TESTING.pptx
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptx
 
Software design and Software engineering.pptx
Software design and Software engineering.pptxSoftware design and Software engineering.pptx
Software design and Software engineering.pptx
 
Ethernet.ppt
Ethernet.pptEthernet.ppt
Ethernet.ppt
 
Software design and Software engineering.pptx
Software design and Software engineering.pptxSoftware design and Software engineering.pptx
Software design and Software engineering.pptx
 
Software prototyping.pptx
Software prototyping.pptxSoftware prototyping.pptx
Software prototyping.pptx
 
Requirement Engineering.ppt
Requirement Engineering.pptRequirement Engineering.ppt
Requirement Engineering.ppt
 
Unit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptUnit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.ppt
 
EFFECTIVE MODULAR DESIGN.pptx
EFFECTIVE MODULAR DESIGN.pptxEFFECTIVE MODULAR DESIGN.pptx
EFFECTIVE MODULAR DESIGN.pptx
 
PROCESS MODELS.ppt
PROCESS MODELS.pptPROCESS MODELS.ppt
PROCESS MODELS.ppt
 
Unit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptUnit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.ppt
 

Recently uploaded

Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Recently uploaded (20)

Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Transport Layer.pptx

  • 1. Transport Layer (end-to-end communication) Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 2. Objective • Elements of Transport Protocols • Internet Transport Protocols: TCP Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 3. Elements of Transport Protocols • The transport service- Transport protocol used between the two transport entities • As all other layers, this layer communicates with its peer Transport layer of the remote host • Transport layer offers peer-to-peer and end-to- end connection between two processes on remote hosts. • Transport layer takes data from upper layer (i.e. Application layer) and then breaks it into smaller size segments, numbers each byte, and hands over to lower layer (Network Layer) for delivery. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 4. Establishing A Connection Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 5. Addressing • Process wishes to set up a connection to a remote application process, it must specify which one to connect to • The method normally used is to define transport addresses to which processes can listen for connection requests • In the Internet, these end points are called ports Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 6. • We will use the generic term TSAP, (Transport Service Access Point) • The analogous end points in the network layer (i.e., network layer addresses) are then called NSAPs. • IP addresses are examples of NSAPs • The relationship between the NSAP, TSAP and transport connection illustrates in figure Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 7. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 8. A possible scenario for a transport connection is as follows 1. A time of day server process on host 2 attaches itself to TSAP 1522 to wait for an incoming call TSAP is outside the networking model and depends entirely on the local operating system A call such as our LISTEN might be used 2. An application process on host 1 wants to find out the time-of- day. So it issues a CONNECT request specifying TSAP 1208 as the source and TSAP 1522 as the destination 3. The application process then sends over a request for the time 4. The time server process responds with the current time 5. The transport connection is then released Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 9. • Instead - conceivable server listening at a well-known TSAP, each machine that wishes to offer services to acts as a proxy for less heavily used servers • It listens to a set of ports at the same time, waiting for a connection request • Potential users of a service begin by doing a CONNECT request, specifying the TSAP address of the service they want. • If no server is waiting for them, they get a connection to the process server 6.9(a) • After it gets the incoming request, the process server spawns the requested server, allowing it to inherit the existing connection with the user. • The new server then does the requested work, while the process server goes back to listening for new requests, as shown in Fig. 6- 9(b) Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 10. Time of day server Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 11. • An alternative scheme is often used • In this model, there exists a special process called a name server or sometimes a directory server • To find the TSAP address corresponding to a given service name, such as ''time of day,'' a user sets up a connection to the name server • In this model, when a new service is created, it must register itself with the name server, giving both its service name (typically, an ASCII string) and its TSAP Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 12. Connection Establishment • Transport entity to just send a CONNECTION REQUEST TPDU to the destination and wait for a CONNECTION ACCEPTED reply • Packet lifetime can be restricted to a known maximum using one (or more) of the following techniques: • 1. Restricted subnet design • 2. Putting a hop counter in each packet • 3. Time stamping each packet Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 13. • The Transaction Protocol Data Unit (TPDU) • Figure 6-11. Three protocol scenarios for establishing a connection using a three-way handshake. CR denotes CONNECTION REQUEST. • (a) Normal operation. • (b) Old duplicate CONNECTION REQUEST appearing out of nowhere. • (c) Duplicate CONNECTION REQUEST and duplicate ACK. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 14. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 15. DISCONNECT Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 16. • Figure 6-14. Four protocol scenarios for releasing a connection. • (a) Normal case of three-way handshake • (b) Final ACK lost • (c) Response lost • (d) Response lost and subsequent DRs lost Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 17. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 18. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 19. Flow Control and Buffering • The network service is unreliable, the sender must buffer all TPDUs sent, just as in the data link layer Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 20. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 21. Multiplexing • Multiplexing - connections, virtual circuits, and physical links plays a role in several layers of the network architecture • In the transport layer the need for multiplexing can arise in a number of ways • Note: Multiplexing is a technique used to combine and send the multiple data streams over a single medium Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 22. Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 23. • If only one network address is available on a host, all transport connections on that machine have to use it • When a TPDU comes in, some way is needed to tell which process to give it to • This situation called upward multiplexing Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 24. • If a user needs more bandwidth than one virtual circuit can provide, a way out is to open multiple network connections and distribute the traffic among them on a round-robin basis, as indicated in Fig. 6-17(b) • This modus operandi is called downward multiplexing Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 25. Crash Recovery Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 26. • Hosts and routers are subject to crashes, recovery from these crashes becomes an issue • Three events are possible at the server: • sending an acknowledgement (A) • writing to the output process (W) and crashing (C) • The three events can occur in six different orderings: AC(W), AWC, C(AW), C(WA), WAC, and WC(A), where the parentheses are used to indicate that neither A nor W can follow C Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 27. Crash Recovery Prepared by, Dr.T.Thendral, Assistant Professor, SRCW
  • 28. Summary • Elements of Transport Protocols – Establishing A Connection – Addressing – A possible scenario for a transport connection is as follows – Time of day server – Connection Establishment – DISCONNECT – Flow Control and Buffering – Multiplexing – Crash Recovery Prepared by, Dr.T.Thendral, Assistant Professor, SRCW