TCP and UDP Protocols

FacebookTwitterGoogle+LinkedInEmail
Description
Transport Layer
  • Session multiplexing
  • Flow control
  • Reliability
  • Segmentation
  • Uses TCP or UDP
  • Adds port number
  • Socket to socket
  What is Port Number?
  • Service identifier
  • Length: 16 bits
  • Ranges from 0 to 65,535
  • Well-known ports: 0-1024
    • HTTP: 80
    • FTP: 21
    • DNS: 53
    • SMTP: 25
  • Ephemeral ports > 1024
  UDP Protocol
  • Best-effort delivery (unreliable)
  • Provides applications with access to the network layer
  • Saves the overhead of reliability mechanisms
  • Connectionless protocol
  • Limited error checking
  • Data loss due to:
    • Routing error
    • Dupliation
  • No data-recovery features
  TCP Protocol
  • Reliable protocol
  • Provides access to the network layer for applications
  • Connection-oriented protocol
  • Error checking
  • Data-recovery features
  • Sequencing of data packets
  • Acknowledgement of receipt
  • More commonly used than UDP
 
Recommended Study Material
Learn on the go.
The app designed for the modern cyber security professional.
Get it on Google Play Get it on the App Store

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel