SlideShare une entreprise Scribd logo
1  sur  21
Introduction of
TCP, IP & UDP
Rahul kundu
6th sem, IT
content
 Define TCP
 Define IP
 Define UDP
 Difference between TCP & UDP
Define TCP
 TCP is one of the core protocols of the
internet protocol suite(IP).
 TCP stands for “transmission control protocol”
 TCP provide reliable, ordered & error-checked
delivery of a stream of octets between
program running on computer connected to a
local area network, intranet or the public
internet.
Define TCP cont….
 It is resides at the transport layer.
 Web browsers use TCP when they connect
to servers on the world wide web & it is
used to deliver email & transfer files from
one location to another.
 TCP uses a fixed connection i.e. it is a
connection oriented protocol.
Define TCP cont….
 TCP is for communication between
applications.
 If one application wants to communicate
with another via TCP, it sends a
communication request must be sent to
an exact address after a “handshake”
between the two applications, TCP will set
up a “full duplex” communication between
the two applications.
Define TCP cont….
 The “full duplex” communication will
occupy the communication line between
the two computer until it is closed by one
of the two application.
OSI model and TCP/IP model
Define IP
 IP stand for “internet protocol”.
 IP is “connection less” communication
protocol.
 IP is for communication between
computers.
Define IP cont….
 IP doesn’t occupy the communication line
between two computers IP reduces the
need for network lines. each line can be
used for communication between many
different computer at same time.
 With IP, message are broken up into small
independent “packets” & sent between
computer via the internet.
Define IP cont….
 IP is responsible for “routing” each packet
to the correct destination.
Define UDP
 UDP stands for “user datagram packet”.
 UDP is part of the internet protocol suite
used by program running on different
computer on a network.
 UDP is used to send short message called
datagram but overall.
Define UDP cont…
 It is an unreliable connection less
protocol.
 UDP is officially defined in RFC 768 & was
formulated by David P. Reed.
 UDP is an open-system inter-
connection(OSI) transport layer protocol
for client-server network application.
Define UDP cont…
 It is used for data transferring.
 UDP is a known as a “stateless” protocol
meaning it doesn’t acknowledge that the
packets being sent have been received.
 UDP is widely used in video-conferencing
& real-time computer games.
Define UDP cont…
 UDP network traffic is organized in the
form of datagrams, which comprise one
message units. The first 8 bytes of a
datagram contain header information
while the remaining bytes contain
message data.
Define UDP cont…
 A UDP datagram
header contains 4
fields of 2 bytes
each:-
 Source port
number
 Destination port
number
 Datagram
size(length)
 Checksum
Difference between TCP & UDP
S.N Parameter TCP UDP
1. Acronym for Transmission control
protocol
User datagram
protocol
2. Connection Connection oriented
protocol
Connection less
protocol
3. Usage TCP is suited for
application that
require higher
reliability &
transmission time is
relatively less
critical.
UDP is suitable for
application that
need fast, efficient
transmission, such
as games, UDP
stateless nature is
also useful for
servers that
Difference between TCP & UDP
cont..
S.N Parameter TCP UDP
Answer small quires
from huge number
of clients.
4. Ordering of data
packets
TCP rearranges
data packets in the
order specification.
UDP has no inherent
order as all packets
are independent of
each other.
5. Speed of
transfer
Slower speed than
UDP
Faster than TCP (no
error checking)
Difference between TCP & UDP
cont..
S.N Parameter TCP UDP
6. Reliability Absolute guarantee
that data
transferred
remains intact &
arrives in the order
in which it was
sent.
There is no
guarantee that the
message or packets
sent would reach at
all.
7. Header size TCP header size is
20 byte
UDP header size is 8
byte
Difference between TCP & UDP
cont..
S.N Parameter TCP UDP
8. Stream oriented:-
data transmitted as
a virtual stream of
bytes
Message oriented:-
data transmitted as
individual data
packets called
datagram.
9. Weight Heavy weight Lighter weight
10. Data flow Flow control No flow control
Difference between TCP & UDP
cont..
S.N Parameter TCP UDP
11. Error checking Error check No error check
12. Acknowledgement Acknowledgement
Segment
No
acknowledgement
13. example HTTP, HTTPs, FTP,
SMTP, TELNET
DNS, DHCP, TFTP,
SNMP, RIP, VoIP
THANK YOU

Contenu connexe

Tendances

Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer network
Disi Dc
 
User Datagram protocol For Msc CS
User Datagram protocol For Msc CSUser Datagram protocol For Msc CS
User Datagram protocol For Msc CS
Thanveen
 

Tendances (20)

User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
 
Introduction to Application layer
Introduction to Application layerIntroduction to Application layer
Introduction to Application layer
 
Routing
RoutingRouting
Routing
 
Application Layer
Application Layer Application Layer
Application Layer
 
Tcp
TcpTcp
Tcp
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
 
UDP - User Datagram Protocol
UDP - User Datagram ProtocolUDP - User Datagram Protocol
UDP - User Datagram Protocol
 
TCP Vs UDP
TCP Vs UDP TCP Vs UDP
TCP Vs UDP
 
Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer network
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
 
Transport layer
Transport layer Transport layer
Transport layer
 
Congestion control
Congestion controlCongestion control
Congestion control
 
IPv4
IPv4IPv4
IPv4
 
User Datagram protocol For Msc CS
User Datagram protocol For Msc CSUser Datagram protocol For Msc CS
User Datagram protocol For Msc CS
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
Telnet
TelnetTelnet
Telnet
 

En vedette

TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
extraganesh
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
Mohd Arif
 
Tcp Udp
Tcp UdpTcp Udp
Tcp Udp
yanhul
 
Arp (address resolution protocol)
Arp (address resolution protocol)Arp (address resolution protocol)
Arp (address resolution protocol)
tigerbt
 
TCP/IP Model
TCP/IP ModelTCP/IP Model
TCP/IP Model
farhan516
 
Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IP
Mannu Khani
 

En vedette (20)

TCP & UDP protocols
TCP & UDP protocols TCP & UDP protocols
TCP & UDP protocols
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
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 3 : User Datagram Protocol (UDP)
Chapter 3 : User Datagram Protocol (UDP)Chapter 3 : User Datagram Protocol (UDP)
Chapter 3 : User Datagram Protocol (UDP)
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
 
TCP/IP(networking)
TCP/IP(networking)TCP/IP(networking)
TCP/IP(networking)
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
TCP Model
TCP ModelTCP Model
TCP Model
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
Tcp Udp
Tcp UdpTcp Udp
Tcp Udp
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
TCP- Transmission Control Protocol
TCP-  Transmission Control Protocol TCP-  Transmission Control Protocol
TCP- Transmission Control Protocol
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
Arp (address resolution protocol)
Arp (address resolution protocol)Arp (address resolution protocol)
Arp (address resolution protocol)
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
Network Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport LayerNetwork Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport Layer
 
Ipv4 ppt
Ipv4 pptIpv4 ppt
Ipv4 ppt
 
TCP/IP Model
TCP/IP ModelTCP/IP Model
TCP/IP Model
 
Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IP
 
TCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet ProtocolTCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet Protocol
 

Similaire à Introduction of tcp, ip & udp

07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
ssuserf7cd2b
 
2.4 Write a stream –based echo server and a client sending message t.pdf
2.4 Write a stream –based echo server and a client sending message t.pdf2.4 Write a stream –based echo server and a client sending message t.pdf
2.4 Write a stream –based echo server and a client sending message t.pdf
excellentmobiles
 
Notes e commerce
Notes e commerceNotes e commerce
Notes e commerce
S S
 

Similaire à Introduction of tcp, ip & udp (20)

Tcp vs udp
Tcp vs udpTcp vs udp
Tcp vs udp
 
Udp vs-tcp
Udp vs-tcpUdp vs-tcp
Udp vs-tcp
 
Mcse question
Mcse questionMcse question
Mcse question
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
Networking-basics
Networking-basicsNetworking-basics
Networking-basics
 
#KPC #CST #Protocols
#KPC #CST #Protocols #KPC #CST #Protocols
#KPC #CST #Protocols
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network
 
Internet of Things Unit - 01 Part 3A.pptx
Internet of Things Unit - 01 Part 3A.pptxInternet of Things Unit - 01 Part 3A.pptx
Internet of Things Unit - 01 Part 3A.pptx
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
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
 
HNS L III UC2 Installing and Managing Network Protocols .pdf
HNS L III UC2 Installing and Managing Network Protocols .pdfHNS L III UC2 Installing and Managing Network Protocols .pdf
HNS L III UC2 Installing and Managing Network Protocols .pdf
 
TCP vs UDP / Sumiet23
TCP vs UDP / Sumiet23TCP vs UDP / Sumiet23
TCP vs UDP / Sumiet23
 
2.4 Write a stream –based echo server and a client sending message t.pdf
2.4 Write a stream –based echo server and a client sending message t.pdf2.4 Write a stream –based echo server and a client sending message t.pdf
2.4 Write a stream –based echo server and a client sending message t.pdf
 
Notes e commerce
Notes e commerceNotes e commerce
Notes e commerce
 
CSS (KNC-301) 2. TCP IP By Vivek Tripathi.pptx
CSS (KNC-301)  2. TCP IP By Vivek Tripathi.pptxCSS (KNC-301)  2. TCP IP By Vivek Tripathi.pptx
CSS (KNC-301) 2. TCP IP By Vivek Tripathi.pptx
 
Networking in python by Rj
Networking in python by RjNetworking in python by Rj
Networking in python by Rj
 
Basic to advance protocols
Basic to advance protocolsBasic to advance protocols
Basic to advance protocols
 
01 packet
01 packet01 packet
01 packet
 
Tcp
TcpTcp
Tcp
 

Plus de rahul kundu (17)

Material management
Material managementMaterial management
Material management
 
Business function in organization
Business function in organizationBusiness function in organization
Business function in organization
 
Document object model(dom)
Document object model(dom)Document object model(dom)
Document object model(dom)
 
Document object model(dom)
Document object model(dom)Document object model(dom)
Document object model(dom)
 
Dhtml
DhtmlDhtml
Dhtml
 
Sgml
SgmlSgml
Sgml
 
Internet
InternetInternet
Internet
 
Type of internet connectivity
Type of internet connectivityType of internet connectivity
Type of internet connectivity
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
 
Electronic payment system(EPS)
Electronic payment system(EPS)Electronic payment system(EPS)
Electronic payment system(EPS)
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Authentication, authorization, accounting(aaa) slides
Authentication, authorization, accounting(aaa) slidesAuthentication, authorization, accounting(aaa) slides
Authentication, authorization, accounting(aaa) slides
 
Electronic data-interchange slides
Electronic data-interchange slidesElectronic data-interchange slides
Electronic data-interchange slides
 
Client server security threats
Client server security threatsClient server security threats
Client server security threats
 
Introduction of firewall slides
Introduction of firewall slidesIntroduction of firewall slides
Introduction of firewall slides
 
Virus slides
Virus slidesVirus slides
Virus slides
 
Mpeg 7 slides
Mpeg 7 slides Mpeg 7 slides
Mpeg 7 slides
 

Dernier

Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
F
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Monica Sydney
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
ydyuyu
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
F
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 

Dernier (20)

Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
 
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call GirlsMira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 

Introduction of tcp, ip & udp

  • 1. Introduction of TCP, IP & UDP Rahul kundu 6th sem, IT
  • 2. content  Define TCP  Define IP  Define UDP  Difference between TCP & UDP
  • 3. Define TCP  TCP is one of the core protocols of the internet protocol suite(IP).  TCP stands for “transmission control protocol”  TCP provide reliable, ordered & error-checked delivery of a stream of octets between program running on computer connected to a local area network, intranet or the public internet.
  • 4. Define TCP cont….  It is resides at the transport layer.  Web browsers use TCP when they connect to servers on the world wide web & it is used to deliver email & transfer files from one location to another.  TCP uses a fixed connection i.e. it is a connection oriented protocol.
  • 5. Define TCP cont….  TCP is for communication between applications.  If one application wants to communicate with another via TCP, it sends a communication request must be sent to an exact address after a “handshake” between the two applications, TCP will set up a “full duplex” communication between the two applications.
  • 6. Define TCP cont….  The “full duplex” communication will occupy the communication line between the two computer until it is closed by one of the two application.
  • 7. OSI model and TCP/IP model
  • 8. Define IP  IP stand for “internet protocol”.  IP is “connection less” communication protocol.  IP is for communication between computers.
  • 9. Define IP cont….  IP doesn’t occupy the communication line between two computers IP reduces the need for network lines. each line can be used for communication between many different computer at same time.  With IP, message are broken up into small independent “packets” & sent between computer via the internet.
  • 10. Define IP cont….  IP is responsible for “routing” each packet to the correct destination.
  • 11. Define UDP  UDP stands for “user datagram packet”.  UDP is part of the internet protocol suite used by program running on different computer on a network.  UDP is used to send short message called datagram but overall.
  • 12. Define UDP cont…  It is an unreliable connection less protocol.  UDP is officially defined in RFC 768 & was formulated by David P. Reed.  UDP is an open-system inter- connection(OSI) transport layer protocol for client-server network application.
  • 13. Define UDP cont…  It is used for data transferring.  UDP is a known as a “stateless” protocol meaning it doesn’t acknowledge that the packets being sent have been received.  UDP is widely used in video-conferencing & real-time computer games.
  • 14. Define UDP cont…  UDP network traffic is organized in the form of datagrams, which comprise one message units. The first 8 bytes of a datagram contain header information while the remaining bytes contain message data.
  • 15. Define UDP cont…  A UDP datagram header contains 4 fields of 2 bytes each:-  Source port number  Destination port number  Datagram size(length)  Checksum
  • 16. Difference between TCP & UDP S.N Parameter TCP UDP 1. Acronym for Transmission control protocol User datagram protocol 2. Connection Connection oriented protocol Connection less protocol 3. Usage TCP is suited for application that require higher reliability & transmission time is relatively less critical. UDP is suitable for application that need fast, efficient transmission, such as games, UDP stateless nature is also useful for servers that
  • 17. Difference between TCP & UDP cont.. S.N Parameter TCP UDP Answer small quires from huge number of clients. 4. Ordering of data packets TCP rearranges data packets in the order specification. UDP has no inherent order as all packets are independent of each other. 5. Speed of transfer Slower speed than UDP Faster than TCP (no error checking)
  • 18. Difference between TCP & UDP cont.. S.N Parameter TCP UDP 6. Reliability Absolute guarantee that data transferred remains intact & arrives in the order in which it was sent. There is no guarantee that the message or packets sent would reach at all. 7. Header size TCP header size is 20 byte UDP header size is 8 byte
  • 19. Difference between TCP & UDP cont.. S.N Parameter TCP UDP 8. Stream oriented:- data transmitted as a virtual stream of bytes Message oriented:- data transmitted as individual data packets called datagram. 9. Weight Heavy weight Lighter weight 10. Data flow Flow control No flow control
  • 20. Difference between TCP & UDP cont.. S.N Parameter TCP UDP 11. Error checking Error check No error check 12. Acknowledgement Acknowledgement Segment No acknowledgement 13. example HTTP, HTTPs, FTP, SMTP, TELNET DNS, DHCP, TFTP, SNMP, RIP, VoIP