WhileNetworking

  • Home
  • CCNA
  • Cisco Packet Tracer Download
    • Cisco packet tracer 6.3
    • cisco packet tracer 6.2
    • Cisco Packet Tracer 7
  • Linux Server Management
  • About Us
  • Privacy Policy
  • Contact Us

TCP vs. UDP – Does reliability is all you need?

You are most welcome to this post.
TCP vs. UDP
Really thanks to you for your interest in this topics. :)

TCP vs. UDP – Reliability or Speed

Though TCP vs. UDP is the title of this article, they are not rivals! As a matter of fact, TCP and UDP are the most used protocol in Transport layer. Furthermore, to know about other layers of TCP/IP model, read this article. Afterward, this article will give you in depth knowledge about hos TCP and UDP protocol goes in action!

UDP

UDP stands for User Datagram Protocol. In this protocol data is sent unreliably. However, unreliably means, UDP protocol doesn’t verify if the sent data is received properly. As a matter of fact, UDP sends a data for a single time. Afterward it waits for the answer. Then the session is terminated.

For instance, DNS protocol uses UDP protocol. No doubt that, every internet user uses DNS protocol. Actually, what DNS protocol does is, it sends a question or inquiry to DNS server. That question includes the website address what was entered in a browser. At this point, DNS server returns the IP address of that website. However, DNS server doesn’t have the record for that website, it sends a return message about saying that. Ultimately, this is all happens in a single instance of UDP a session. No confirmation or acknowledgment is used in this protocol

TCP

TCP stands for Transmission Control Protocol. In any case, this protocol send data reliably. Meaning, sent data will be received by the expected receiver. For this purpose, TCP uses SYN and ACK packets. It sends a SYN packet, waits for an ACK packet. Afterward if it gets ACK packet, it sends next packet. If it doesn’t get ACK packet, it sends previous packet again. Here, packets refers to data, in general sense.

For example, HTTP protocol uses TCP protocol. Of course, every internet users also use HTTP protocol every day. First, TCP protocol sends a SYN packet to receiver, in this case to any website. SYN packet simply means, it wants to “speak” with the website. Then, if the website is ready to communicate, it sends SYN, ACK. Actually this means, the website has got the SYN packet and wants to communicate. Then again, from users side a ACK packet is sent to the website. Afterward, they start communicating using this protocol for every data transmission. This method is called Three Way Handshake. It is reliable because ACK packet is used to confirm if data is received by the expected receiver.

TCP vs. UDP – Final Words

So we have seen how, both TCP and UDP works. Both are widely used. As a matter of fact, both are crucial. When speed is more important than reliability, UDP is used. Like DNS or Video streaming or VoIP. On the other hand, where reliability is the priority, there TCP is used. Like HTTP protocol. Users need all the data to brows a website effectively. All things considered, both are important protocol for network communication. Also both are essential for each other. Have fun!

Feb 20, 2018Tamal Tomal
 

Share with friends :

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to print (Opens in new window)

Related

Five google apps, that can be helpful for youAdvanced System Administration - Command Line Tools for Linux

Leave a Reply Cancel reply

nineteen + sixteen =

Tamal Tomal
February 20, 2018 CCNACCNA, Networking464
Feel Free to Share :)
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Find Us on Facebook
Choose a category !!
  • CCNA
  • Cisco Certification Exam
  • cisco packet tracer 6.2
  • Cisco packet tracer 6.3
  • Cisco Packet Tracer 7
  • Cisco Packet Tracer 7.1
  • Cisco Packet Tracer 7.2.1
  • Cisco Packet Tracer 7.3
  • Cyber Security
  • Engineering Ebooks
  • Excel
  • IELTS Ebook
  • Internet
  • Know computer
  • Know your computer
  • Laser Processing of Material
  • Linux installation and server management
  • PDF
  • Technology
  • Uncategorized
Top posts
  • Free download Cisco Packet Tracer 7.1 for windows (32 bit)
  • Free download Cisco Packet Tracer 7.2 for windows (64 bit)
  • Packet tracer 6.2 student version for Linux - Free download
Archieves
Get latest updates by Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 14 other subscribers
W
SC
wordpress counter
Analytics
Recent Comments
    Browse by categories
    Cyber SecurityLinux installation and server managementCCNAKnow your computerKnow computerCisco Packet Tracer 7UncategorizedCisco Certification ExamInternetPDFCisco Packet Tracer 7.3Engineering EbooksCisco packet tracer 6.3cisco packet tracer 6.2Cisco Packet Tracer 7.1TechnologyExcelLaser Processing of MaterialCisco Packet Tracer 7.2.1IELTS Ebook
    Feel free to contact with us

    Hi, any kind of comment or suggestion is valuable to us. So feel free to contact with us.

    Email: himadri.shekhar.bd@gmail.com

    Name: WhileNetworking.com

    2021 © WhileNetworking