<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Samarth Khurana</title>
    <description>The latest articles on DEV Community by Samarth Khurana (@samarthkhurana).</description>
    <link>https://dev.to/samarthkhurana</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F544070%2F34465943-6fef-4800-8d35-87a8c6b5d9cc.png</url>
      <title>DEV Community: Samarth Khurana</title>
      <link>https://dev.to/samarthkhurana</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samarthkhurana"/>
    <language>en</language>
    <item>
      <title>What are TCP and UDP?</title>
      <dc:creator>Samarth Khurana</dc:creator>
      <pubDate>Sun, 20 Dec 2020 16:41:02 +0000</pubDate>
      <link>https://dev.to/samarthkhurana/what-are-tcp-and-udp-4hmk</link>
      <guid>https://dev.to/samarthkhurana/what-are-tcp-and-udp-4hmk</guid>
      <description>&lt;p&gt;What are internet protocols? &lt;/p&gt;

&lt;p&gt;For you to safely and successfully browse the internet, you have to follow certain rules or “protocols” so that the servers and service providers know how to react and respond to your request. Don’t worry, however, as your browser does all the behind the scenes of the work. The browser by default follows roles of procedure laid down by the internet and are uniform along the entirety of the internet. These rules ensure uniformity and safety. The most basic connection-oriented protocol that is followed is the UDP and the TCP that is used in data transfer.  &lt;/p&gt;

&lt;p&gt;What are TCP and UDP &lt;/p&gt;

&lt;p&gt;TCP stands for Transmission Control Protocol. It is specifically designed as a model to offer a highly reliable end to end byte stream in a session. On the other hand, UDP is a datagram-oriented protocol. It is used for broadcast and multicast types of network transmission. Its full form is User Datagram Protocol. The UDP is similar to TCP, but it’s a lot quicker and unreliable. It doesn’t do error-checking to see if any byte got corrupted or wasn’t sent during the entire process. Some key features of TCP are delivery acknowledgment, retransmission, easy error detection, and delays when the network is congested. UDP has a lot of lesser delay with the possibility of data loss and sends the bulk quantity of packets. &lt;/p&gt;

&lt;p&gt;WHEN TO USE WHAT?&lt;/p&gt;

&lt;p&gt;UDP is ideal to use with multimedia like VoIP as if a few packets are missed during the transaction, will only make a screen a little blurry in places, and speed is more important while buffering a video. TCP is ideal if security is paramount and all bytes of data are a must, like in an email.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
