SlideShare a Scribd company logo
1 of 41
The Transport Layer
Chapter 4
1/4/2017 Mr Satyendra Mohan Srivastava 1
The Transport Service
• Services Provided to the Upper Layers
• Transport Service Primitives
• Berkeley Sockets
• An Example of Socket Programming:
– An Internet File Server
1/4/2017 Mr Satyendra Mohan Srivastava 2
Services Provided to the Upper
Layers
The network, transport, and application layers.
1/4/2017 Mr Satyendra Mohan Srivastava 3
Transport Service Primitives
The primitives for a simple transport service.
1/4/2017 Mr Satyendra Mohan Srivastava 4
Transport Service Primitives
The nesting of TPDUs, packets, and frames.
1/4/2017 Mr Satyendra Mohan Srivastava 5
Transport Service Primitives
A state diagram for a simple connection management scheme. Transitions
labeled in italics are caused by packet arrivals. The solid lines show the client's
state sequence. The dashed lines show the server's state sequence.
1/4/2017 Mr Satyendra Mohan Srivastava 6
Berkeley Sockets
The socket primitives for TCP.
1/4/2017 Mr Satyendra Mohan Srivastava 7
Elements of Transport
Protocols
• Addressing
• Connection Establishment
• Connection Release
• Flow Control and Buffering
• Multiplexing
• Crash Recovery
1/4/2017 Mr Satyendra Mohan Srivastava 8
Transport Protocol
(a) Environment of the data link layer.
(b) Environment of the transport layer.
1/4/2017 Mr Satyendra Mohan Srivastava 9
Addressing
TSAPs, NSAPs and transport connections.
1/4/2017 Mr Satyendra Mohan Srivastava 10
Connection Establishment
How a user process in host 1 establishes a connection
with a time-of-day server in host 2.
1/4/2017 Mr Satyendra Mohan Srivastava 11
Connection Establishment
(a) TPDUs may not enter the forbidden region.
(b) The resynchronization problem.
1/4/2017 Mr Satyendra Mohan Srivastava 12
Connection Establishment
Three protocol scenarios for establishing a connection using a
three-way handshake. CR denotes CONNECTION REQUEST.
(a) Normal operation,
(b) Old CONNECTION REQUEST appearing out of nowhere.
(c) Duplicate CONNECTION REQUEST and duplicate ACK.
1/4/2017 Mr Satyendra Mohan Srivastava 13
Connection Release
Abrupt disconnection with loss of data.
1/4/2017 Mr Satyendra Mohan Srivastava 14
Connection Release
The two-army problem.
1/4/2017 Mr Satyendra Mohan Srivastava 15
Connection Release
Four protocol scenarios for releasing a connection. (a) Normal case of a
three-way handshake. (b) final ACK lost.
6-14, a, b
1/4/2017 Mr Satyendra Mohan Srivastava 16
Connection Release
(c) Response lost. (d) Response lost and subsequent DRs lost.
6-14, c,d
1/4/2017 Mr Satyendra Mohan Srivastava 17
Multiplexing
(a) Upward multiplexing. (b) Downward multiplexing.
1/4/2017 Mr Satyendra Mohan Srivastava 18
Crash Recovery
Different combinations of client and server strategy.
1/4/2017 Mr Satyendra Mohan Srivastava 19
A Simple Transport Protocol
• The Example Service Primitives
• The Example Transport Entity
• The Example as a Finite State Machine
1/4/2017 Mr Satyendra Mohan Srivastava 20
The Example Transport Entity
The network layer packets used in our example.
1/4/2017 Mr Satyendra Mohan Srivastava 21
The Example Transport Entity
Each connection is in one of seven states:
1. Idle – Connection not established yet.
2. Waiting – CONNECT has been executed, CALL REQUEST sent.
3. Queued – A CALL REQUEST has arrived; no LISTEN yet.
4. Established – The connection has been established.
5. Sending – The user is waiting for permission to send a packet.
6. Receiving – A RECEIVE has been done.
7. DISCONNECTING – a DISCONNECT has been done locally.
1/4/2017 Mr Satyendra Mohan Srivastava 22
The Internet Transport Protocols:
UDP
• Introduction to UDP
• Remote Procedure Call
• The Real-Time Transport Protocol
1/4/2017 Mr Satyendra Mohan Srivastava 23
Introduction to UDP
The UDP header.
1/4/2017 Mr Satyendra Mohan Srivastava 24
Remote Procedure Call
Steps in making a remote procedure call. The stubs are shaded.
1/4/2017 Mr Satyendra Mohan Srivastava 25
The Real-Time Transport
Protocol
(a) The position of RTP in the protocol stack. (b) Packet nesting.
1/4/2017 Mr Satyendra Mohan Srivastava 26
The Real-Time Transport
Protocol
The RTP header.
1/4/2017 Mr Satyendra Mohan Srivastava 27
The Internet Transport Protocols: TCP
• Introduction to TCP
• The TCP Service Model
• The TCP Protocol
• The TCP Segment Header
• TCP Connection Establishment
• TCP Connection Release
• TCP Connection Management Modeling
• TCP Transmission Policy
• TCP Congestion Control
• TCP Timer Management
• Wireless TCP and UDP
• Transactional TCP
1/4/2017 Mr Satyendra Mohan Srivastava 28
The TCP Service Model
Some assigned ports.
Port Protocol Use
21 FTP File transfer
23 Telnet Remote login
25 SMTP E-mail
69 TFTP Trivial File Transfer Protocol
79 Finger Lookup info about a user
80 HTTP World Wide Web
110 POP-3 Remote e-mail access
119 NNTP USENET news
1/4/2017 Mr Satyendra Mohan Srivastava 29
The TCP Service Model
(a) Four 512-byte segments sent as separate IP datagrams.
(b) The 2048 bytes of data delivered to the application in a single
READ CALL.
1/4/2017 Mr Satyendra Mohan Srivastava 30
The TCP Segment Header
TCP Header.
1/4/2017 Mr Satyendra Mohan Srivastava 31
The TCP Segment Header
The pseudoheader included in the TCP checksum.
1/4/2017 Mr Satyendra Mohan Srivastava 32
TCP Connection Establishment
(a) TCP connection establishment in the normal case.
(b) Call collision.
6-31
1/4/2017 Mr Satyendra Mohan Srivastava 33
TCP Connection Management
Modeling
The states used in the TCP connection management finite state machine.
1/4/2017 Mr Satyendra Mohan Srivastava 34
TCP Transmission Policy
Window management in TCP.
1/4/2017 Mr Satyendra Mohan Srivastava 35
TCP Transmission Policy
Silly window syndrome.
1/4/2017 Mr Satyendra Mohan Srivastava 36
TCP Congestion Control
(a) A fast network feeding a low capacity receiver.
(b) A slow network feeding a high-capacity receiver.
1/4/2017 Mr Satyendra Mohan Srivastava 37
Transitional TCP
(a) RPC using normal TPC.
(b) RPC using T/TCP.
1/4/2017 Mr Satyendra Mohan Srivastava 38
Performance Issues
• Performance Problems in Computer Networks
• Network Performance Measurement
• System Design for Better Performance
• Fast TPDU Processing
• Protocols for Gigabit Networks
1/4/2017 Mr Satyendra Mohan Srivastava 39
References
[1] A. S. Tanenbaum, “Computer Network”, Pearson Education
[2] Forouzen, “Data Communication and Networking”, TMH
1/4/2017 Mr Satyendra Mohan, JIT Barabanki 40
1/4/2017 Mr Satyendra Mohan Srivastava 41

More Related Content

What's hot (20)

transport layer
transport layertransport layer
transport layer
 
transport layer
transport layer transport layer
transport layer
 
Week9 lec1
Week9 lec1Week9 lec1
Week9 lec1
 
transport layer protocols
transport layer protocolstransport layer protocols
transport layer protocols
 
Transport services
Transport servicesTransport services
Transport services
 
Transport layer
Transport layerTransport layer
Transport layer
 
Transport Layer Description By Varun Tiwari
Transport Layer Description By Varun TiwariTransport Layer Description By Varun Tiwari
Transport Layer Description By Varun Tiwari
 
Network Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport LayerNetwork Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport Layer
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
OSI Transport Layer
OSI Transport LayerOSI Transport Layer
OSI Transport Layer
 
Network layer
Network layerNetwork layer
Network layer
 
Transport layer
Transport layerTransport layer
Transport layer
 
Chapter4 Network
Chapter4 NetworkChapter4 Network
Chapter4 Network
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Transport layer
Transport layerTransport layer
Transport layer
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
Transport layer
Transport layerTransport layer
Transport layer
 
CS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit IIICS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit III
 

Viewers also liked

Process and its related concept with problems.
Process and its related concept with problems.Process and its related concept with problems.
Process and its related concept with problems.Satyendra Mohan
 
Ex 1 chapter04-transport-layer-tony_chen
Ex 1 chapter04-transport-layer-tony_chenEx 1 chapter04-transport-layer-tony_chen
Ex 1 chapter04-transport-layer-tony_chenĐô GiẢn
 
Marketing of CSE Department
Marketing of CSE DepartmentMarketing of CSE Department
Marketing of CSE DepartmentSatyendra Mohan
 
Network Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your NetworkNetwork Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your NetworkAbdelkhalik Mosa
 
Memory and file system concepts
Memory and file system conceptsMemory and file system concepts
Memory and file system conceptsSatyendra Mohan
 
Academic Poster Design, Review and Presentation
Academic Poster Design, Review and PresentationAcademic Poster Design, Review and Presentation
Academic Poster Design, Review and PresentationAbdelkhalik Mosa
 
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and ConfigurationLAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and ConfigurationAbdelkhalik Mosa
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationAbdelkhalik Mosa
 

Viewers also liked (9)

Process and its related concept with problems.
Process and its related concept with problems.Process and its related concept with problems.
Process and its related concept with problems.
 
Ex 1 chapter04-transport-layer-tony_chen
Ex 1 chapter04-transport-layer-tony_chenEx 1 chapter04-transport-layer-tony_chen
Ex 1 chapter04-transport-layer-tony_chen
 
Marketing of CSE Department
Marketing of CSE DepartmentMarketing of CSE Department
Marketing of CSE Department
 
Chapter4
Chapter4Chapter4
Chapter4
 
Network Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your NetworkNetwork Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your Network
 
Memory and file system concepts
Memory and file system conceptsMemory and file system concepts
Memory and file system concepts
 
Academic Poster Design, Review and Presentation
Academic Poster Design, Review and PresentationAcademic Poster Design, Review and Presentation
Academic Poster Design, Review and Presentation
 
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and ConfigurationLAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
 

Similar to Transport layer features and functionality

Quantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute OperationsQuantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute OperationsjournalBEEI
 
Apnic V6 Tutorial Distribution
Apnic V6 Tutorial DistributionApnic V6 Tutorial Distribution
Apnic V6 Tutorial DistributionAli_Ahmad
 
Chapter4 network layer
Chapter4 network layerChapter4 network layer
Chapter4 network layerKhánh Ghẻ
 
Iccsit2010 paper2
Iccsit2010 paper2Iccsit2010 paper2
Iccsit2010 paper2hanums1
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersĐồng Quốc Vương
 
Iccci2010 fipv6
Iccci2010 fipv6Iccci2010 fipv6
Iccci2010 fipv6hanums1
 
Procedia Computer Science 46 ( 2015 ) 1072 – 1078 187.docx
Procedia Computer Science   46  ( 2015 )  1072 – 1078 187.docxProcedia Computer Science   46  ( 2015 )  1072 – 1078 187.docx
Procedia Computer Science 46 ( 2015 ) 1072 – 1078 187.docxAASTHA76
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersĐồng Quốc Vương
 
Network optimization of ipv6 networks using tunnel header compression
Network optimization of ipv6 networks using tunnel header compressionNetwork optimization of ipv6 networks using tunnel header compression
Network optimization of ipv6 networks using tunnel header compressioneSAT Journals
 
Ccna 4 chapter 8 v4.0 answers 2011
Ccna 4 chapter 8 v4.0 answers 2011Ccna 4 chapter 8 v4.0 answers 2011
Ccna 4 chapter 8 v4.0 answers 2011Dân Chơi
 

Similar to Transport layer features and functionality (20)

Computer Network basic
Computer Network basicComputer Network basic
Computer Network basic
 
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute OperationsQuantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
 
Chapter4 l4
Chapter4 l4Chapter4 l4
Chapter4 l4
 
Apnic V6 Tutorial Distribution
Apnic V6 Tutorial DistributionApnic V6 Tutorial Distribution
Apnic V6 Tutorial Distribution
 
Chapter4 network layer
Chapter4 network layerChapter4 network layer
Chapter4 network layer
 
21 Scheme_ MODULE-3_CCN.pdf
21 Scheme_ MODULE-3_CCN.pdf21 Scheme_ MODULE-3_CCN.pdf
21 Scheme_ MODULE-3_CCN.pdf
 
Computer-Networks--OSI_MODEL.ppt
Computer-Networks--OSI_MODEL.pptComputer-Networks--OSI_MODEL.ppt
Computer-Networks--OSI_MODEL.ppt
 
IPv17 tech
IPv17 techIPv17 tech
IPv17 tech
 
Iccsit2010 paper2
Iccsit2010 paper2Iccsit2010 paper2
Iccsit2010 paper2
 
Ch5
Ch5Ch5
Ch5
 
35d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b8935d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b89
 
4. network layer
4. network layer4. network layer
4. network layer
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answers
 
CN Jntu PPT
CN Jntu PPTCN Jntu PPT
CN Jntu PPT
 
Iccci2010 fipv6
Iccci2010 fipv6Iccci2010 fipv6
Iccci2010 fipv6
 
Procedia Computer Science 46 ( 2015 ) 1072 – 1078 187.docx
Procedia Computer Science   46  ( 2015 )  1072 – 1078 187.docxProcedia Computer Science   46  ( 2015 )  1072 – 1078 187.docx
Procedia Computer Science 46 ( 2015 ) 1072 – 1078 187.docx
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
 
Network optimization of ipv6 networks using tunnel header compression
Network optimization of ipv6 networks using tunnel header compressionNetwork optimization of ipv6 networks using tunnel header compression
Network optimization of ipv6 networks using tunnel header compression
 
Ccna guide
Ccna guideCcna guide
Ccna guide
 
Ccna 4 chapter 8 v4.0 answers 2011
Ccna 4 chapter 8 v4.0 answers 2011Ccna 4 chapter 8 v4.0 answers 2011
Ccna 4 chapter 8 v4.0 answers 2011
 

More from Satyendra Mohan

Principal of Programming Language
Principal of Programming Language Principal of Programming Language
Principal of Programming Language Satyendra Mohan
 
Introduction of Artificial Intelligence
Introduction of Artificial IntelligenceIntroduction of Artificial Intelligence
Introduction of Artificial IntelligenceSatyendra Mohan
 
Ipc nee 303 ppt even sem
Ipc nee 303 ppt even semIpc nee 303 ppt even sem
Ipc nee 303 ppt even semSatyendra Mohan
 

More from Satyendra Mohan (7)

Principal of Programming Language
Principal of Programming Language Principal of Programming Language
Principal of Programming Language
 
Introduction of Artificial Intelligence
Introduction of Artificial IntelligenceIntroduction of Artificial Intelligence
Introduction of Artificial Intelligence
 
Operating system
Operating systemOperating system
Operating system
 
Digital india
Digital indiaDigital india
Digital india
 
Material science eeem
Material science eeemMaterial science eeem
Material science eeem
 
Material science eeem
Material science eeemMaterial science eeem
Material science eeem
 
Ipc nee 303 ppt even sem
Ipc nee 303 ppt even semIpc nee 303 ppt even sem
Ipc nee 303 ppt even sem
 

Recently uploaded

OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 

Recently uploaded (20)

OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 

Transport layer features and functionality

  • 1. The Transport Layer Chapter 4 1/4/2017 Mr Satyendra Mohan Srivastava 1
  • 2. The Transport Service • Services Provided to the Upper Layers • Transport Service Primitives • Berkeley Sockets • An Example of Socket Programming: – An Internet File Server 1/4/2017 Mr Satyendra Mohan Srivastava 2
  • 3. Services Provided to the Upper Layers The network, transport, and application layers. 1/4/2017 Mr Satyendra Mohan Srivastava 3
  • 4. Transport Service Primitives The primitives for a simple transport service. 1/4/2017 Mr Satyendra Mohan Srivastava 4
  • 5. Transport Service Primitives The nesting of TPDUs, packets, and frames. 1/4/2017 Mr Satyendra Mohan Srivastava 5
  • 6. Transport Service Primitives A state diagram for a simple connection management scheme. Transitions labeled in italics are caused by packet arrivals. The solid lines show the client's state sequence. The dashed lines show the server's state sequence. 1/4/2017 Mr Satyendra Mohan Srivastava 6
  • 7. Berkeley Sockets The socket primitives for TCP. 1/4/2017 Mr Satyendra Mohan Srivastava 7
  • 8. Elements of Transport Protocols • Addressing • Connection Establishment • Connection Release • Flow Control and Buffering • Multiplexing • Crash Recovery 1/4/2017 Mr Satyendra Mohan Srivastava 8
  • 9. Transport Protocol (a) Environment of the data link layer. (b) Environment of the transport layer. 1/4/2017 Mr Satyendra Mohan Srivastava 9
  • 10. Addressing TSAPs, NSAPs and transport connections. 1/4/2017 Mr Satyendra Mohan Srivastava 10
  • 11. Connection Establishment How a user process in host 1 establishes a connection with a time-of-day server in host 2. 1/4/2017 Mr Satyendra Mohan Srivastava 11
  • 12. Connection Establishment (a) TPDUs may not enter the forbidden region. (b) The resynchronization problem. 1/4/2017 Mr Satyendra Mohan Srivastava 12
  • 13. Connection Establishment Three protocol scenarios for establishing a connection using a three-way handshake. CR denotes CONNECTION REQUEST. (a) Normal operation, (b) Old CONNECTION REQUEST appearing out of nowhere. (c) Duplicate CONNECTION REQUEST and duplicate ACK. 1/4/2017 Mr Satyendra Mohan Srivastava 13
  • 14. Connection Release Abrupt disconnection with loss of data. 1/4/2017 Mr Satyendra Mohan Srivastava 14
  • 15. Connection Release The two-army problem. 1/4/2017 Mr Satyendra Mohan Srivastava 15
  • 16. Connection Release Four protocol scenarios for releasing a connection. (a) Normal case of a three-way handshake. (b) final ACK lost. 6-14, a, b 1/4/2017 Mr Satyendra Mohan Srivastava 16
  • 17. Connection Release (c) Response lost. (d) Response lost and subsequent DRs lost. 6-14, c,d 1/4/2017 Mr Satyendra Mohan Srivastava 17
  • 18. Multiplexing (a) Upward multiplexing. (b) Downward multiplexing. 1/4/2017 Mr Satyendra Mohan Srivastava 18
  • 19. Crash Recovery Different combinations of client and server strategy. 1/4/2017 Mr Satyendra Mohan Srivastava 19
  • 20. A Simple Transport Protocol • The Example Service Primitives • The Example Transport Entity • The Example as a Finite State Machine 1/4/2017 Mr Satyendra Mohan Srivastava 20
  • 21. The Example Transport Entity The network layer packets used in our example. 1/4/2017 Mr Satyendra Mohan Srivastava 21
  • 22. The Example Transport Entity Each connection is in one of seven states: 1. Idle – Connection not established yet. 2. Waiting – CONNECT has been executed, CALL REQUEST sent. 3. Queued – A CALL REQUEST has arrived; no LISTEN yet. 4. Established – The connection has been established. 5. Sending – The user is waiting for permission to send a packet. 6. Receiving – A RECEIVE has been done. 7. DISCONNECTING – a DISCONNECT has been done locally. 1/4/2017 Mr Satyendra Mohan Srivastava 22
  • 23. The Internet Transport Protocols: UDP • Introduction to UDP • Remote Procedure Call • The Real-Time Transport Protocol 1/4/2017 Mr Satyendra Mohan Srivastava 23
  • 24. Introduction to UDP The UDP header. 1/4/2017 Mr Satyendra Mohan Srivastava 24
  • 25. Remote Procedure Call Steps in making a remote procedure call. The stubs are shaded. 1/4/2017 Mr Satyendra Mohan Srivastava 25
  • 26. The Real-Time Transport Protocol (a) The position of RTP in the protocol stack. (b) Packet nesting. 1/4/2017 Mr Satyendra Mohan Srivastava 26
  • 27. The Real-Time Transport Protocol The RTP header. 1/4/2017 Mr Satyendra Mohan Srivastava 27
  • 28. The Internet Transport Protocols: TCP • Introduction to TCP • The TCP Service Model • The TCP Protocol • The TCP Segment Header • TCP Connection Establishment • TCP Connection Release • TCP Connection Management Modeling • TCP Transmission Policy • TCP Congestion Control • TCP Timer Management • Wireless TCP and UDP • Transactional TCP 1/4/2017 Mr Satyendra Mohan Srivastava 28
  • 29. The TCP Service Model Some assigned ports. Port Protocol Use 21 FTP File transfer 23 Telnet Remote login 25 SMTP E-mail 69 TFTP Trivial File Transfer Protocol 79 Finger Lookup info about a user 80 HTTP World Wide Web 110 POP-3 Remote e-mail access 119 NNTP USENET news 1/4/2017 Mr Satyendra Mohan Srivastava 29
  • 30. The TCP Service Model (a) Four 512-byte segments sent as separate IP datagrams. (b) The 2048 bytes of data delivered to the application in a single READ CALL. 1/4/2017 Mr Satyendra Mohan Srivastava 30
  • 31. The TCP Segment Header TCP Header. 1/4/2017 Mr Satyendra Mohan Srivastava 31
  • 32. The TCP Segment Header The pseudoheader included in the TCP checksum. 1/4/2017 Mr Satyendra Mohan Srivastava 32
  • 33. TCP Connection Establishment (a) TCP connection establishment in the normal case. (b) Call collision. 6-31 1/4/2017 Mr Satyendra Mohan Srivastava 33
  • 34. TCP Connection Management Modeling The states used in the TCP connection management finite state machine. 1/4/2017 Mr Satyendra Mohan Srivastava 34
  • 35. TCP Transmission Policy Window management in TCP. 1/4/2017 Mr Satyendra Mohan Srivastava 35
  • 36. TCP Transmission Policy Silly window syndrome. 1/4/2017 Mr Satyendra Mohan Srivastava 36
  • 37. TCP Congestion Control (a) A fast network feeding a low capacity receiver. (b) A slow network feeding a high-capacity receiver. 1/4/2017 Mr Satyendra Mohan Srivastava 37
  • 38. Transitional TCP (a) RPC using normal TPC. (b) RPC using T/TCP. 1/4/2017 Mr Satyendra Mohan Srivastava 38
  • 39. Performance Issues • Performance Problems in Computer Networks • Network Performance Measurement • System Design for Better Performance • Fast TPDU Processing • Protocols for Gigabit Networks 1/4/2017 Mr Satyendra Mohan Srivastava 39
  • 40. References [1] A. S. Tanenbaum, “Computer Network”, Pearson Education [2] Forouzen, “Data Communication and Networking”, TMH 1/4/2017 Mr Satyendra Mohan, JIT Barabanki 40
  • 41. 1/4/2017 Mr Satyendra Mohan Srivastava 41