SlideShare a Scribd company logo
PAPER NAME : COMPUTER NETWORKS
STAFF NAME : MISS.S.MANIMOZHI .MCA,M.phil,phd.,
CLASS : III BCA A
SEMESTER : VI
UNIT : IV
TOPIC : TRANSPORT PROTOCOLS
 Lightweight statement between development
 Avoid slide and delays of planned, steadfast
liberation.
 Send messages to and collect them from a opening.
SRC port DST port
checksum length
DATA
 philosophy original transport-layer military
 (De)multiplexing
 detect bribery
 Consistent liberation
 Flow control
 Transport-layer protocol in the Internet
 User Datagram Protocol (UDP)
 Transmission Control Protocol (TCP)
 Application layer
 Announcement for explicit applications
 E.g., HyperTextTransfer Protocol (HTTP), FileTransfer
Protocol (FTP), Network NewsTransfer Protocol (NNTP)
 Transport layer
 Statement between processes (e.g., socket)
 Relies on network layer and serve the application layer
 E.g.,TCP and UDP
 Network layer
 Logical announcement between nodes
 Hides details of the link knowledge.
 E.g., IP
Dispatcher: break application
messages into segment
and pass to network
Receiver: reassembles
segments into messages,
passes to submission several
transport protocol available to
application.
Internet:TCP and UDP
application
transport
network
data link
physical
network
data link
physical
network
data link
physical
network
data link
physical
network
data link
physicalnetwork
data link
physical
 Datagram messaging service (UDP)
 No-frills conservatory of “best-effort” IP
 Unswerving, in-order liberation (TCP)
 Connection set-up
 Discarding of dishonored packets
 Re transmission of lost packets
 Flow control
 blockage control (next lecture)
 Other services not available
 Delay guarantee
 Bandwidth guarantee
7
 superior direct over what information is sent and when
 As soon as an application process write into the socket
 … UDP will drape up the in sequence and force the package
 No setback for connection assembly
 UDP just blast away without any formal preliminaries
 … which avoid originate any superfluous delays
 No connection shape
 No section of buffers, limit, sequence #s, etc.
 … making it easier to lever many active regulars at once
 little packet star transparency
 UDP title is only eight-bytes long
8
 compact disk stream
 Retransmitting lost/dishonored packets is not
valuable.
 By the occasion the packet is retransmitted, it’s
too late.
 E.g., telephone calls, video conferencing, gaming
9
“Address for www.cnn.com?”
“12.3.4.15”
10
Host A
Host B
11
Host A
Host B
TCP Data
TCP Data
Segment sent when:
1. Segment full (Max Segment Size),
2. Not full, but times out, or
3. “Pushed” by application.
TCP Data
TCP Data
TCP
HDR
TCP
HDR
ISN (initial sequence number)
Sequence
number = 1st
byte ACK sequence
number = next
expected byte
 Correspondent set a rest to wait for an ACK
 Too little: bushed retransmissions
 Too extended: intense delays when packet missing
 TCP sets fracture as a profession of the RTT
 Envisage ACK to pull in after an RTT
 … plus a fudge feature to report for queue
 But, how does the sender know the RTT?
 Can resolution the RTT by examination the ACKs
 Downy estimate: keep a supervision regular of the RTT
▪ EstimatedRTT = a * EstimatedRTT + (1 –a ) * SampleRTT
 Compute timeout:TimeOut = 2 * probable RTT
RTT: gaia.cs.umass.edu to fantasia.eurecom.fr
100
150
200
250
300
350
1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106
time (seconnds)
RTT(milliseconds)
SampleRTT Estimated RTT
 Stop-and-wait is inefficient
 Only oneTCP segment is “in flight” at a time
 Especially bad when delay-bandwidth product is
high
 Numerical example
 1.5 Mbps link with a 45 msec round-trip time
(RTT)
 Allow sender to get ahead of the receiver
 … though not too far ahead
Sending process Receiving process
Last byte ACKed
Last byte sent
TCP TCP
Next byte expected
Last byte written Last byte read
Last byte received
 Closing the connection
 Finish (FIN) to close and receive remaining bytes
 And other host sends a FIN ACK to acknowledge
 Reset (RST) to close and not receive remaining bytes
time
A
B
 Distribution a FIN:
close()
 course is complete
sending data via the
hole
 course appeal to
“close()” to close the
hole
 OnceTCP has sent all of
the terrific bytes…
 … thenTCP send a FIN
 in receipt of a FIN: EOF
 Process is reading data
from the socket
 Eventually, the
enterprise to read
returns an EOF
Source port Destination port
Sequence number
Acknowledgment
Advertised windowHdrLen Flags0
Checksum Urgent pointer
Options (variable)
Data
Flags: SYN
FIN
RST
PSH
URG
ACK
 Three-way handshake to establish connection
 Host A sends a SYN (open) to the host B
 Host B returns a SYN acknowledgment (SYN ACK)
 Host A sends an ACK to acknowledge the SYN ACK
A B
Each host tells
its ISN to the
other host.
 Transport protocols
 Multiplexing and demultiplexing
 Sequence numbers
 Window-based flow control
 Timer-based retransmission
 Checksum-based error uncovering

More Related Content

What's hot

Tcp vs udp difference and comparison diffen
Tcp vs udp   difference and comparison   diffenTcp vs udp   difference and comparison   diffen
Tcp vs udp difference and comparison diffen
Harikiran Raju
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communicationAbDul ThaYyal
 
TCP vs UDP / Sumiet23
TCP vs UDP / Sumiet23TCP vs UDP / Sumiet23
TCP vs UDP / Sumiet23
Sumiet Talekar
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication header
Faizan Shaikh
 
Introduction to tcpdump
Introduction to tcpdumpIntroduction to tcpdump
Introduction to tcpdumpLev Walkin
 
Introduction of tcp, ip & udp
Introduction of tcp, ip & udpIntroduction of tcp, ip & udp
Introduction of tcp, ip & udprahul kundu
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
Ramesh Giri
 
Udp
UdpUdp
Lecture 5
Lecture 5Lecture 5
Lecture 5
ntpc08
 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDPsangusajjan
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Ravindra Raju Kolahalam
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
Dawood Faheem Abbasi
 
Lec 12(Transport Layer)
Lec 12(Transport Layer)Lec 12(Transport Layer)
Lec 12(Transport Layer)
maamir farooq
 
Transport layer
Transport layerTransport layer
Transport layer
arvind pandey
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocolMohd Arif
 
Tcp Udp Notes
Tcp Udp NotesTcp Udp Notes
Tcp Udp Notes
Ram Dutt Shukla
 

What's hot (20)

Tcp vs udp difference and comparison diffen
Tcp vs udp   difference and comparison   diffenTcp vs udp   difference and comparison   diffen
Tcp vs udp difference and comparison diffen
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communication
 
Tcp
TcpTcp
Tcp
 
TCP vs UDP / Sumiet23
TCP vs UDP / Sumiet23TCP vs UDP / Sumiet23
TCP vs UDP / Sumiet23
 
Netkitmig
NetkitmigNetkitmig
Netkitmig
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication header
 
Ch21
Ch21Ch21
Ch21
 
Introduction to tcpdump
Introduction to tcpdumpIntroduction to tcpdump
Introduction to tcpdump
 
Introduction of tcp, ip & udp
Introduction of tcp, ip & udpIntroduction of tcp, ip & udp
Introduction of tcp, ip & udp
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
Udp
UdpUdp
Udp
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Ipc
IpcIpc
Ipc
 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDP
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
 
Lec 12(Transport Layer)
Lec 12(Transport Layer)Lec 12(Transport Layer)
Lec 12(Transport Layer)
 
Transport layer
Transport layerTransport layer
Transport layer
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
 
Tcp Udp Notes
Tcp Udp NotesTcp Udp Notes
Tcp Udp Notes
 

Similar to transport protocols

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
Jaimin Jani
 
Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)
Hamidreza Bolhasani
 
MK-PPT Chapter 5.ppt advanced computer networks
MK-PPT Chapter 5.ppt advanced computer networksMK-PPT Chapter 5.ppt advanced computer networks
MK-PPT Chapter 5.ppt advanced computer networks
1JT19IS042SandhyaH
 
04 MK-PPT End-to-End Protocols.ppt
04 MK-PPT End-to-End Protocols.ppt04 MK-PPT End-to-End Protocols.ppt
04 MK-PPT End-to-End Protocols.ppt
dhivyak49
 
Chapter 01 - Overview
Chapter 01 - OverviewChapter 01 - Overview
Chapter 01 - Overviewphanleson
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internat
Kritika Purohit
 
TCP Over Wireless
TCP Over WirelessTCP Over Wireless
TCP Over WirelessFarooq Khan
 
Wireshark Basics
Wireshark BasicsWireshark Basics
Wireshark Basics
Yoram Orzach
 
Tcp Ip Overview
Tcp Ip OverviewTcp Ip Overview
Tcp Ip OverviewAmir Malik
 
What is tcp
What is tcpWhat is tcp
What is tcp
Golu Gupta
 
KandR_TCP (1).ppt notes for congestion control
KandR_TCP (1).ppt    notes for congestion controlKandR_TCP (1).ppt    notes for congestion control
KandR_TCP (1).ppt notes for congestion control
GOKULKANNANMMECLECTC
 
Application Layer and Socket Programming
Application Layer and Socket ProgrammingApplication Layer and Socket Programming
Application Layer and Socket Programmingelliando dias
 
Mobile Transpot Layer
Mobile Transpot LayerMobile Transpot Layer
Mobile Transpot Layer
Maulik Patel
 
Osi model
Osi modelOsi model
Osi model
Anuj Kumar
 
Computer network (16)
Computer network (16)Computer network (16)
Computer network (16)
NYversity
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
sanjoysanyal
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
Jeff Green
 
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jbCN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
PRADEEPERUKULLA2
 

Similar to transport protocols (20)

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
 
Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)
 
MK-PPT Chapter 5.ppt advanced computer networks
MK-PPT Chapter 5.ppt advanced computer networksMK-PPT Chapter 5.ppt advanced computer networks
MK-PPT Chapter 5.ppt advanced computer networks
 
04 MK-PPT End-to-End Protocols.ppt
04 MK-PPT End-to-End Protocols.ppt04 MK-PPT End-to-End Protocols.ppt
04 MK-PPT End-to-End Protocols.ppt
 
Lec9
Lec9Lec9
Lec9
 
Mod4
Mod4Mod4
Mod4
 
Chapter 01 - Overview
Chapter 01 - OverviewChapter 01 - Overview
Chapter 01 - Overview
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internat
 
TCP Over Wireless
TCP Over WirelessTCP Over Wireless
TCP Over Wireless
 
Wireshark Basics
Wireshark BasicsWireshark Basics
Wireshark Basics
 
Tcp Ip Overview
Tcp Ip OverviewTcp Ip Overview
Tcp Ip Overview
 
What is tcp
What is tcpWhat is tcp
What is tcp
 
KandR_TCP (1).ppt notes for congestion control
KandR_TCP (1).ppt    notes for congestion controlKandR_TCP (1).ppt    notes for congestion control
KandR_TCP (1).ppt notes for congestion control
 
Application Layer and Socket Programming
Application Layer and Socket ProgrammingApplication Layer and Socket Programming
Application Layer and Socket Programming
 
Mobile Transpot Layer
Mobile Transpot LayerMobile Transpot Layer
Mobile Transpot Layer
 
Osi model
Osi modelOsi model
Osi model
 
Computer network (16)
Computer network (16)Computer network (16)
Computer network (16)
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jbCN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
 

Recently uploaded

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 

transport protocols

  • 1. PAPER NAME : COMPUTER NETWORKS STAFF NAME : MISS.S.MANIMOZHI .MCA,M.phil,phd., CLASS : III BCA A SEMESTER : VI UNIT : IV TOPIC : TRANSPORT PROTOCOLS
  • 2.
  • 3.  Lightweight statement between development  Avoid slide and delays of planned, steadfast liberation.  Send messages to and collect them from a opening. SRC port DST port checksum length DATA
  • 4.  philosophy original transport-layer military  (De)multiplexing  detect bribery  Consistent liberation  Flow control  Transport-layer protocol in the Internet  User Datagram Protocol (UDP)  Transmission Control Protocol (TCP)
  • 5.  Application layer  Announcement for explicit applications  E.g., HyperTextTransfer Protocol (HTTP), FileTransfer Protocol (FTP), Network NewsTransfer Protocol (NNTP)  Transport layer  Statement between processes (e.g., socket)  Relies on network layer and serve the application layer  E.g.,TCP and UDP  Network layer  Logical announcement between nodes  Hides details of the link knowledge.  E.g., IP
  • 6. Dispatcher: break application messages into segment and pass to network Receiver: reassembles segments into messages, passes to submission several transport protocol available to application. Internet:TCP and UDP application transport network data link physical network data link physical network data link physical network data link physical network data link physicalnetwork data link physical
  • 7.  Datagram messaging service (UDP)  No-frills conservatory of “best-effort” IP  Unswerving, in-order liberation (TCP)  Connection set-up  Discarding of dishonored packets  Re transmission of lost packets  Flow control  blockage control (next lecture)  Other services not available  Delay guarantee  Bandwidth guarantee 7
  • 8.  superior direct over what information is sent and when  As soon as an application process write into the socket  … UDP will drape up the in sequence and force the package  No setback for connection assembly  UDP just blast away without any formal preliminaries  … which avoid originate any superfluous delays  No connection shape  No section of buffers, limit, sequence #s, etc.  … making it easier to lever many active regulars at once  little packet star transparency  UDP title is only eight-bytes long 8
  • 9.  compact disk stream  Retransmitting lost/dishonored packets is not valuable.  By the occasion the packet is retransmitted, it’s too late.  E.g., telephone calls, video conferencing, gaming 9 “Address for www.cnn.com?” “12.3.4.15”
  • 11. 11 Host A Host B TCP Data TCP Data Segment sent when: 1. Segment full (Max Segment Size), 2. Not full, but times out, or 3. “Pushed” by application.
  • 12. TCP Data TCP Data TCP HDR TCP HDR ISN (initial sequence number) Sequence number = 1st byte ACK sequence number = next expected byte
  • 13.  Correspondent set a rest to wait for an ACK  Too little: bushed retransmissions  Too extended: intense delays when packet missing  TCP sets fracture as a profession of the RTT  Envisage ACK to pull in after an RTT  … plus a fudge feature to report for queue  But, how does the sender know the RTT?  Can resolution the RTT by examination the ACKs  Downy estimate: keep a supervision regular of the RTT ▪ EstimatedRTT = a * EstimatedRTT + (1 –a ) * SampleRTT  Compute timeout:TimeOut = 2 * probable RTT
  • 14. RTT: gaia.cs.umass.edu to fantasia.eurecom.fr 100 150 200 250 300 350 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 time (seconnds) RTT(milliseconds) SampleRTT Estimated RTT
  • 15.  Stop-and-wait is inefficient  Only oneTCP segment is “in flight” at a time  Especially bad when delay-bandwidth product is high  Numerical example  1.5 Mbps link with a 45 msec round-trip time (RTT)
  • 16.  Allow sender to get ahead of the receiver  … though not too far ahead Sending process Receiving process Last byte ACKed Last byte sent TCP TCP Next byte expected Last byte written Last byte read Last byte received
  • 17.  Closing the connection  Finish (FIN) to close and receive remaining bytes  And other host sends a FIN ACK to acknowledge  Reset (RST) to close and not receive remaining bytes time A B
  • 18.  Distribution a FIN: close()  course is complete sending data via the hole  course appeal to “close()” to close the hole  OnceTCP has sent all of the terrific bytes…  … thenTCP send a FIN  in receipt of a FIN: EOF  Process is reading data from the socket  Eventually, the enterprise to read returns an EOF
  • 19. Source port Destination port Sequence number Acknowledgment Advertised windowHdrLen Flags0 Checksum Urgent pointer Options (variable) Data Flags: SYN FIN RST PSH URG ACK
  • 20.  Three-way handshake to establish connection  Host A sends a SYN (open) to the host B  Host B returns a SYN acknowledgment (SYN ACK)  Host A sends an ACK to acknowledge the SYN ACK A B Each host tells its ISN to the other host.
  • 21.  Transport protocols  Multiplexing and demultiplexing  Sequence numbers  Window-based flow control  Timer-based retransmission  Checksum-based error uncovering