SlideShare a Scribd company logo
PROTOCOLS IN COMPUTER
NETWORK
Arvin Bera
(Lecturer CST KPC)
LEARNING OUTCOME
 TCP
 UDP
 Difference Between TCP and UDP
TCP(TRANSMISSION CONTROL PROTOCOL)
 It is a connection-oriented
communications protocol that facilitates the
exchange of messages between computing devices
in a network.
 TCP ensures that the data reaches intended
destination in the same order it was sent
 TCP provides error-checking and recovery
mechanism.
 TCP provides flow control and quality of service.
 TCP provides full duplex server, i.e. it can perform
roles of both receiver and sender.
#KPC #CST #Protocols
TCP 3-WAY HANDSHAKE PROCESS
This could also be seen as a way of how TCP
connection is established. Before getting into the
details.
STEPS OF 3-WAY HANDSHAKE
 Step 1 (SYN) : In the first step, client wants to establish a connection
with server, so it sends a segment with SYN(Synchronize Sequence
Number) which informs server that client is likely to start
communication and with what sequence number it starts segments
with
 Step 2 (SYN + ACK): Server responds to the client request with
SYN-ACK signal bits set. Acknowledgement(ACK) signifies the
response of segment it received and SYN signifies with what
sequence number it is likely to start the segments with
 Step 3 (ACK) : In the final part client acknowledges the response of
server and they both establish a reliable connection with which they
will start the actual data transfer
3-WAY HANDSHAKE
CONNECTION TERMINATION
UDP(USERGRAM DATA PROTOCOL)
 UDP (User Datagram Protocol) is an alternative
communications protocol to Transmission Control Protocol
(TCP) used primarily for establishing low-latency and loss-
tolerating connections between applications on the internet.
 Unlike TCP, it is unreliable and connectionless protocol
 Though Transmission Control Protocol (TCP) is the dominant
transport layer protocol used with most of Internet services;
provides assured delivery, reliability and much more but all
these services cost us with additional overhead and latency.
Here, UDP comes into picture. For the realtime services like
computer gaming, voice or video communication, live
conferences; we need UDP. Since high performance is
needed, UDP permits packets to be dropped instead of
processing delayed packets. There is no error checking in
UDP, so it also save bandwidth.
UDP HEADER
UDP HEADER
 Source Port : Source Port is 2 Byte long field used
to identify port number of source.
 Destination Port : It is 2 Byte long field, used to
identify the port of destined packet.
 Length : Length is the length of UDP including
header and the data. It is 16-bits field.
 Checksum : Checksum is 2 Bytes long field. It is
the 16-bit one’s complement of the one’s
complement sum of the UDP header, pseudo
header of information from the IP header and the
data, padded with zero octets at the end (if
necessary) to make a multiple of two octets.
APPLICATION OF UDP
 UDP is suitable protocol for multicasting as UDP
supports packet switching
 UDP is used for some routing update protocols like
RIP(Routing Information Protocol).
 Following implementations uses UDP as a transport
layer protocol:NTP (Network Time Protocol)
 DNS (Domain Name Service)
 BOOTP, DHCP.
 NNP (Network News Protocol)
 Quote of the day protocol
 TFTP, RTSP, RIP, OSPF.
WHEN TO USE UDP?
 Reduce the requirement of computer resources.
 When using the Multicast or Broadcast to transfer.
 The transmission of Real-time packets, mainly in
multimedia applications.
TCP VS UDP
MY YOUTUBE REFERENCE
 https://youtu.be/jSljX7sNepo
 https://youtu.be/P_NMDSA0QVc
 https://youtu.be/uUdMz1ajXwQ
Thank you

More Related Content

PPT
Tcp Udp
PPTX
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
PPTX
Transport Layer in Computer Networks (TCP / UDP / SCTP)
PPT
udp , tcp ,sctp
PPT
Chap 13 stream control transmission protocol
PPTX
Introduction of tcp, ip & udp
PPTX
DOC
Tcp Udp Notes
Tcp Udp
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
Transport Layer in Computer Networks (TCP / UDP / SCTP)
udp , tcp ,sctp
Chap 13 stream control transmission protocol
Introduction of tcp, ip & udp
Tcp Udp Notes

What's hot (20)

PPT
Chap 12 tcp
PDF
TCP Vs UDP
DOCX
Udp vs-tcp
DOC
User datagram protocol
PDF
Transport layer services
PDF
Transport layer udp and tcp network
PPTX
TCP/IP 3-way Handshake
PPT
User Datagram protocol For Msc CS
PPT
Jaimin chp-6 - transport layer- 2011 batch
PDF
Tcp vs udp difference and comparison diffen
PPT
Features of tcp (part 2) .68
DOCX
UDP and TCP Protocol & Encrytion and its algorithm
PPT
An overview of TCP (Transmission Control Protocol)
PPTX
What is tcp
PPTX
Tcp udp
PPTX
Transmission control protocol
PDF
Meeting 7 : host configuration: dhcp
PPT
Tcp Udp Icmp And The Transport Layer
PPT
Chap 02 osi model
PPTX
TCP vs UDP / Sumiet23
Chap 12 tcp
TCP Vs UDP
Udp vs-tcp
User datagram protocol
Transport layer services
Transport layer udp and tcp network
TCP/IP 3-way Handshake
User Datagram protocol For Msc CS
Jaimin chp-6 - transport layer- 2011 batch
Tcp vs udp difference and comparison diffen
Features of tcp (part 2) .68
UDP and TCP Protocol & Encrytion and its algorithm
An overview of TCP (Transmission Control Protocol)
What is tcp
Tcp udp
Transmission control protocol
Meeting 7 : host configuration: dhcp
Tcp Udp Icmp And The Transport Layer
Chap 02 osi model
TCP vs UDP / Sumiet23
Ad

Similar to #KPC #CST #Protocols (20)

PPTX
User Datagram Protocol
PDF
TCP/IP & UDP
PDF
UNit-4 Transport Layer and its protocols.pdf
PPT
2-CN_UDP_TCP_f7a922763a77c5ea2bc334f8e36c71f8.ppt
PPTX
Transport layer protocol
PPTX
Transport layer protocols : TCP and UDP
PPTX
Computer networks transport layer
PPT
Computer Network - Transport Layer Services
PPTX
user development programing in networking UDP.pptx
PPTX
TCP and UDP comparison and itsi application.pptx
PPTX
07 coms 525 tcpip - udp
PDF
TCP and UDP.pdf55555555555555555555555555555
PPTX
Transport layer
PPTX
Unit 6 NAHI aa rha hai na ki koi baat nhi hai
PPT
UDP and TCP header.ppt
PPTX
Unit 5.Transport Layer.pptx
PPT
W14-15L28-29 Process to Process Communication.ppt
PDF
UDP - User Datagram Protocol
PPTX
07 coms 525 tcpip - udp [autosaved]
DOCX
Tcp vs udp
User Datagram Protocol
TCP/IP & UDP
UNit-4 Transport Layer and its protocols.pdf
2-CN_UDP_TCP_f7a922763a77c5ea2bc334f8e36c71f8.ppt
Transport layer protocol
Transport layer protocols : TCP and UDP
Computer networks transport layer
Computer Network - Transport Layer Services
user development programing in networking UDP.pptx
TCP and UDP comparison and itsi application.pptx
07 coms 525 tcpip - udp
TCP and UDP.pdf55555555555555555555555555555
Transport layer
Unit 6 NAHI aa rha hai na ki koi baat nhi hai
UDP and TCP header.ppt
Unit 5.Transport Layer.pptx
W14-15L28-29 Process to Process Communication.ppt
UDP - User Datagram Protocol
07 coms 525 tcpip - udp [autosaved]
Tcp vs udp
Ad

More from KEIKolkata (9)

PPTX
#KPC #ETCE & EE #Dgital Signature
PPTX
#KPC #EE & ETCE #Cryptography
PPTX
#KPC #CST #Relational Decomposition
PPTX
#KPC #CST #Projection
PPTX
#KPC #CST #Polygon fill
PPTX
#KPC #CST #Polygon Fill
PPTX
#KPC #CST #DBMS(BCNF)
PPTX
#KPC #CST #Curves
PPTX
#KPC #CST #Clipping
#KPC #ETCE & EE #Dgital Signature
#KPC #EE & ETCE #Cryptography
#KPC #CST #Relational Decomposition
#KPC #CST #Projection
#KPC #CST #Polygon fill
#KPC #CST #Polygon Fill
#KPC #CST #DBMS(BCNF)
#KPC #CST #Curves
#KPC #CST #Clipping

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Complications of Minimal Access Surgery at WLH
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Institutional Correction lecture only . . .
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Lesson notes of climatology university.
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Pharma ospi slides which help in ospi learning
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Complications of Minimal Access Surgery at WLH
VCE English Exam - Section C Student Revision Booklet
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Institutional Correction lecture only . . .
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Lesson notes of climatology university.
102 student loan defaulters named and shamed – Is someone you know on the list?
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
TR - Agricultural Crops Production NC III.pdf
Pre independence Education in Inndia.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Final Presentation General Medicine 03-08-2024.pptx
Microbial disease of the cardiovascular and lymphatic systems
Abdominal Access Techniques with Prof. Dr. R K Mishra
GDM (1) (1).pptx small presentation for students
Pharma ospi slides which help in ospi learning
STATICS OF THE RIGID BODIES Hibbelers.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...

#KPC #CST #Protocols

  • 1. PROTOCOLS IN COMPUTER NETWORK Arvin Bera (Lecturer CST KPC)
  • 2. LEARNING OUTCOME  TCP  UDP  Difference Between TCP and UDP
  • 3. TCP(TRANSMISSION CONTROL PROTOCOL)  It is a connection-oriented communications protocol that facilitates the exchange of messages between computing devices in a network.  TCP ensures that the data reaches intended destination in the same order it was sent  TCP provides error-checking and recovery mechanism.  TCP provides flow control and quality of service.  TCP provides full duplex server, i.e. it can perform roles of both receiver and sender.
  • 5. TCP 3-WAY HANDSHAKE PROCESS This could also be seen as a way of how TCP connection is established. Before getting into the details.
  • 6. STEPS OF 3-WAY HANDSHAKE  Step 1 (SYN) : In the first step, client wants to establish a connection with server, so it sends a segment with SYN(Synchronize Sequence Number) which informs server that client is likely to start communication and with what sequence number it starts segments with  Step 2 (SYN + ACK): Server responds to the client request with SYN-ACK signal bits set. Acknowledgement(ACK) signifies the response of segment it received and SYN signifies with what sequence number it is likely to start the segments with  Step 3 (ACK) : In the final part client acknowledges the response of server and they both establish a reliable connection with which they will start the actual data transfer
  • 9. UDP(USERGRAM DATA PROTOCOL)  UDP (User Datagram Protocol) is an alternative communications protocol to Transmission Control Protocol (TCP) used primarily for establishing low-latency and loss- tolerating connections between applications on the internet.  Unlike TCP, it is unreliable and connectionless protocol  Though Transmission Control Protocol (TCP) is the dominant transport layer protocol used with most of Internet services; provides assured delivery, reliability and much more but all these services cost us with additional overhead and latency. Here, UDP comes into picture. For the realtime services like computer gaming, voice or video communication, live conferences; we need UDP. Since high performance is needed, UDP permits packets to be dropped instead of processing delayed packets. There is no error checking in UDP, so it also save bandwidth.
  • 11. UDP HEADER  Source Port : Source Port is 2 Byte long field used to identify port number of source.  Destination Port : It is 2 Byte long field, used to identify the port of destined packet.  Length : Length is the length of UDP including header and the data. It is 16-bits field.  Checksum : Checksum is 2 Bytes long field. It is the 16-bit one’s complement of the one’s complement sum of the UDP header, pseudo header of information from the IP header and the data, padded with zero octets at the end (if necessary) to make a multiple of two octets.
  • 12. APPLICATION OF UDP  UDP is suitable protocol for multicasting as UDP supports packet switching  UDP is used for some routing update protocols like RIP(Routing Information Protocol).  Following implementations uses UDP as a transport layer protocol:NTP (Network Time Protocol)  DNS (Domain Name Service)  BOOTP, DHCP.  NNP (Network News Protocol)  Quote of the day protocol  TFTP, RTSP, RIP, OSPF.
  • 13. WHEN TO USE UDP?  Reduce the requirement of computer resources.  When using the Multicast or Broadcast to transfer.  The transmission of Real-time packets, mainly in multimedia applications.
  • 15. MY YOUTUBE REFERENCE  https://youtu.be/jSljX7sNepo  https://youtu.be/P_NMDSA0QVc  https://youtu.be/uUdMz1ajXwQ