SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Presentation On
A Comparative Study of:
TCP & UDP Protocols
1
Internet & Network
protocols
Transfer Layer Protocols
TCP & UDP
Future Work.
01
02
03
04
05
Sequences
Of
presentation
2
Why is it called
The Internet..???
The word internet was used as early as 1849,
meaning interconnected or interwoven. The
word Internet was used in 1945 by the United
States War Department in a radio operator's
manual, and 1974 as the shorthand form of
Internetwork.
3
Internet and Network
are they same..????
4
A computer network is a group of
interconnected nodes or computing devices
that exchange data and resources with each
other.
Networks
5
6
01
02
03
04
LAN
MAN
WAN
PAN
Network Protocols
Types of Computer Network
7
Computer
Protocols
SMTP
Internet Message
Access Protocol
IMAP
File Transfer Protocol
FTP
Point-to-Point Protocol .
PPP
Post office Protocol .
POP
User Datagram Protocol
UDP/IP Protocol
Transmission Control Protocol.
TCP/IP protocol
Hypertext Transfer
Protocol.
HTTP
Simple Mail transfer
Protocol
8
What is TCP ?
 The most common networking protocol online.
Extremely reliable,
Sending emails (SMTP)
Transferring files (FTP).
TCP is used in situations.
9
Process-to-Process Comm.
Connection-oriented service
Multiplexing & De-multiplexing
Full-duplex service
Error Control & Flow Control
Services of TCP
10
the transfer of data that takes place
between individual processes executing on
end systems.
Port numbers are 16 bits long that help
identify which process is sending or
receiving data on a host. 22
Process-to-Process
11
Full Duplex
This means that the communication
can take place in both directions at
the same time.
12
Connection -
Oriented service
TCP provides a connection oriented
service. It defines 3 different phases:
 Connection establishment
 Data transfer
 Connection termination
13
Connection Establishment
In connection establishment, some
rules have to maintain in a sequence
manner. Like:
 A SYN Segment cannot carry data,
but it consumes one sequence
number.
 A SYN ACK segment cannot carry
data, but does consume one
sequence number.
 An ACK segment, if carrying no
data, consumes no sequence
number.
14
Data Transfer
After connection is established,
bidirectional data transfer can
take place. The client and server
can both send data and
acknowledgments.
15
Connection Termination
The FIN segment consumes
one sequence number if it does
not carry data. The (FIN + ACK)
segment consumes one
sequence number if it does not
carry data.
16
Multiplexing & Demultiplexing
TCP does multiplex and De-
multiplexing at the sender and
receiver ends respectively as a
number of logical connections
can be established between
port numbers over a physical
connection.
17
Error & Flow control
 To provide reliable service, TCP
implements an error control
mechanism.
 To prevent the receiver from
being overwhelmed with data.
18
Encapsulation and Decapsulation
Connectionless service
UDP Header
Checksum
Error Control & Flow Control
Services of UDP
19
 Encapsulation adds information
to a packet as it travels to its
destination.
 Decapsulation reverses the
process by removing the info, so
a destination device can read the
original data.
Encapsulation and Decapsulation
20
Connectionless Service
 Each user datagram sent by UDP
is an independent datagram.
 No connection establishment and
no connection termination.
21
Flow & Error Control
 No flow control in UDP, and
hence no window mechanism.
The receiver may overflow with
incoming messages.
 No error control mechanism in
UDP except for the checksum.
22
UDP Header
UDP header is an 8-bytes fixed
and simple header, while for
TCP it may vary from 20 bytes
to 60 bytes.
Length: UDP length = IP length – IP header’s
length.
23
TCP vs UDP
24
25
TCP
Both
UDP
None of them
Which one is the better..????
25
26
26
TCP
Both
UDP
None of them
Which one is the better..????
26
27
Basis TCP UDP SCTP
Protocols TCP is used by HTTP, HTTPs, FTP,
SMTP and Telnet.
UDP is used by DNS, DHCP,
TFTP, SNMP, RIP, and VoIP.
SCTP is used to carry
telecommunication
signaling through IP.
Connection type Connection-oriented Connectionless Connection-oriented
Reliability trustworthy unreliable trustworthy
Transmission type Byte-oriented News-oriented News-oriented
Transfer
sequence
Strictly ordered Disordered Partially ordered
Overload control yes No yes
Error tolerance No No yes
28
01
02
03
04
05
Internet and Network
are not the same.
Networks
TCP, UDP & SMTP
Transfer Layer Protocols
UDP is more widely
used than TCP
Future Work
TCP is the better one protocol
between them.
TCP & UDP
There are various protocols in
Computer Networking.
Protocols
Summary
29
Thank You
30

Weitere ähnliche Inhalte

Ähnlich wie A Comparative Study of TCP & UDP Protocols

Final networks lab manual
Final networks lab manualFinal networks lab manual
Final networks lab manual
Jaya Prasanna
 

Ähnlich wie A Comparative Study of TCP & UDP Protocols (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
 
UDP and TCP header.ppt
UDP and TCP header.pptUDP and TCP header.ppt
UDP and TCP header.ppt
 
Tcp presentation
Tcp presentationTcp presentation
Tcp presentation
 
53426980 tcp-ip
53426980 tcp-ip53426980 tcp-ip
53426980 tcp-ip
 
LECTURE-Transport-Layer_lec.ppt
LECTURE-Transport-Layer_lec.pptLECTURE-Transport-Layer_lec.ppt
LECTURE-Transport-Layer_lec.ppt
 
Final networks lab manual
Final networks lab manualFinal networks lab manual
Final networks lab manual
 
Protocols of network in computer science
Protocols of network in computer scienceProtocols of network in computer science
Protocols of network in computer science
 
Network protocals
Network protocalsNetwork protocals
Network protocals
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
Network protocols
Network protocolsNetwork protocols
Network protocols
 
CCNA Interview.pdf
CCNA Interview.pdfCCNA Interview.pdf
CCNA Interview.pdf
 
01 packet
01 packet01 packet
01 packet
 
TCP/IP Modal
TCP/IP ModalTCP/IP Modal
TCP/IP Modal
 
Chapter Five - Transport Layer.pptx
Chapter Five - Transport Layer.pptxChapter Five - Transport Layer.pptx
Chapter Five - Transport Layer.pptx
 
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & AnomaliesREMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
 
Networking-basics
Networking-basicsNetworking-basics
Networking-basics
 
Group 3 Presen.pptx
Group 3 Presen.pptxGroup 3 Presen.pptx
Group 3 Presen.pptx
 
Computer Communication Networks- TRANSPORT LAYER PROTOCOLS
Computer Communication Networks- TRANSPORT LAYER PROTOCOLSComputer Communication Networks- TRANSPORT LAYER PROTOCOLS
Computer Communication Networks- TRANSPORT LAYER PROTOCOLS
 
TCPIP SLIDES.ppt
TCPIP SLIDES.pptTCPIP SLIDES.ppt
TCPIP SLIDES.ppt
 
計概
計概計概
計概
 

Mehr von Minhazul Abedin Munna

Presentation on Biodiversity
Presentation on BiodiversityPresentation on Biodiversity
Presentation on Biodiversity
Minhazul Abedin Munna
 

Mehr von Minhazul Abedin Munna (13)

Flow Control and Error Control
Flow Control and Error ControlFlow Control and Error Control
Flow Control and Error Control
 
How to build up a Desktop Computer.pptx
How to build up a Desktop Computer.pptxHow to build up a Desktop Computer.pptx
How to build up a Desktop Computer.pptx
 
University result management system
University result management  systemUniversity result management  system
University result management system
 
Deontological ethics
Deontological ethicsDeontological ethics
Deontological ethics
 
Virtue ethics-by-aristotle
Virtue ethics-by-aristotleVirtue ethics-by-aristotle
Virtue ethics-by-aristotle
 
Introduction to logic, inference, proposition
Introduction to logic, inference, propositionIntroduction to logic, inference, proposition
Introduction to logic, inference, proposition
 
Utilitarianism by Jeremy-Bentham
Utilitarianism by Jeremy-BenthamUtilitarianism by Jeremy-Bentham
Utilitarianism by Jeremy-Bentham
 
Food-Hygiene
Food-HygieneFood-Hygiene
Food-Hygiene
 
Hygiene
HygieneHygiene
Hygiene
 
(British vs American) English
(British vs American) English(British vs American) English
(British vs American) English
 
Salient features of a short story
Salient features of a short story Salient features of a short story
Salient features of a short story
 
Presentation on Biodiversity
Presentation on BiodiversityPresentation on Biodiversity
Presentation on Biodiversity
 
Tom and jerry presentation
Tom and jerry presentation Tom and jerry presentation
Tom and jerry presentation
 

Kürzlich hochgeladen

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Kürzlich hochgeladen (20)

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
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Ữ Â...
 
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
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 

A Comparative Study of TCP & UDP Protocols

  • 1. Presentation On A Comparative Study of: TCP & UDP Protocols 1
  • 2. Internet & Network protocols Transfer Layer Protocols TCP & UDP Future Work. 01 02 03 04 05 Sequences Of presentation 2
  • 3. Why is it called The Internet..??? The word internet was used as early as 1849, meaning interconnected or interwoven. The word Internet was used in 1945 by the United States War Department in a radio operator's manual, and 1974 as the shorthand form of Internetwork. 3
  • 4. Internet and Network are they same..???? 4
  • 5. A computer network is a group of interconnected nodes or computing devices that exchange data and resources with each other. Networks 5
  • 6. 6
  • 8. Computer Protocols SMTP Internet Message Access Protocol IMAP File Transfer Protocol FTP Point-to-Point Protocol . PPP Post office Protocol . POP User Datagram Protocol UDP/IP Protocol Transmission Control Protocol. TCP/IP protocol Hypertext Transfer Protocol. HTTP Simple Mail transfer Protocol 8
  • 9. What is TCP ?  The most common networking protocol online. Extremely reliable, Sending emails (SMTP) Transferring files (FTP). TCP is used in situations. 9
  • 10. Process-to-Process Comm. Connection-oriented service Multiplexing & De-multiplexing Full-duplex service Error Control & Flow Control Services of TCP 10
  • 11. the transfer of data that takes place between individual processes executing on end systems. Port numbers are 16 bits long that help identify which process is sending or receiving data on a host. 22 Process-to-Process 11
  • 12. Full Duplex This means that the communication can take place in both directions at the same time. 12
  • 13. Connection - Oriented service TCP provides a connection oriented service. It defines 3 different phases:  Connection establishment  Data transfer  Connection termination 13
  • 14. Connection Establishment In connection establishment, some rules have to maintain in a sequence manner. Like:  A SYN Segment cannot carry data, but it consumes one sequence number.  A SYN ACK segment cannot carry data, but does consume one sequence number.  An ACK segment, if carrying no data, consumes no sequence number. 14
  • 15. Data Transfer After connection is established, bidirectional data transfer can take place. The client and server can both send data and acknowledgments. 15
  • 16. Connection Termination The FIN segment consumes one sequence number if it does not carry data. The (FIN + ACK) segment consumes one sequence number if it does not carry data. 16
  • 17. Multiplexing & Demultiplexing TCP does multiplex and De- multiplexing at the sender and receiver ends respectively as a number of logical connections can be established between port numbers over a physical connection. 17
  • 18. Error & Flow control  To provide reliable service, TCP implements an error control mechanism.  To prevent the receiver from being overwhelmed with data. 18
  • 19. Encapsulation and Decapsulation Connectionless service UDP Header Checksum Error Control & Flow Control Services of UDP 19
  • 20.  Encapsulation adds information to a packet as it travels to its destination.  Decapsulation reverses the process by removing the info, so a destination device can read the original data. Encapsulation and Decapsulation 20
  • 21. Connectionless Service  Each user datagram sent by UDP is an independent datagram.  No connection establishment and no connection termination. 21
  • 22. Flow & Error Control  No flow control in UDP, and hence no window mechanism. The receiver may overflow with incoming messages.  No error control mechanism in UDP except for the checksum. 22
  • 23. UDP Header UDP header is an 8-bytes fixed and simple header, while for TCP it may vary from 20 bytes to 60 bytes. Length: UDP length = IP length – IP header’s length. 23
  • 25. 25 TCP Both UDP None of them Which one is the better..???? 25
  • 26. 26 26 TCP Both UDP None of them Which one is the better..???? 26
  • 27. 27
  • 28. Basis TCP UDP SCTP Protocols TCP is used by HTTP, HTTPs, FTP, SMTP and Telnet. UDP is used by DNS, DHCP, TFTP, SNMP, RIP, and VoIP. SCTP is used to carry telecommunication signaling through IP. Connection type Connection-oriented Connectionless Connection-oriented Reliability trustworthy unreliable trustworthy Transmission type Byte-oriented News-oriented News-oriented Transfer sequence Strictly ordered Disordered Partially ordered Overload control yes No yes Error tolerance No No yes 28
  • 29. 01 02 03 04 05 Internet and Network are not the same. Networks TCP, UDP & SMTP Transfer Layer Protocols UDP is more widely used than TCP Future Work TCP is the better one protocol between them. TCP & UDP There are various protocols in Computer Networking. Protocols Summary 29