TCP/UDP Similarities

October 12, 2012

The Similarities Are..

  • Source Port
  • Destination Port
  • Checksum

and that’s it!


TCP and UDP Summary

October 12, 2012

TCP (Transmission Control Protocol)

  • Connection orientated
  • Provides Windowing (Flow Control)
  • Error detection using sequence and Acknowledgment numbers
  • Error recovery

UDP (User Datagram Protocol)

  • Best effort delivery
  • Zero error “detection”
  • Zero windowing capabilities
  • Connectionless

NB.

TCP uses a three way handshake to establish the connection with the remote host, while UDP does not, this is why TCP is referred to as a connection orientated protocol