---
title: "Discussion on \"TCP vs UDP: When to Use What, and How TCP Relates to HTTP\" | Hashnode"
description: "Discussion on \"TCP vs UDP: When to Use What, and How TCP Relates to HTTP\". Start With the Big Idea\nThe internet needs rules to send data.\nWhen one computer sends data to another, both sides must agree on:\n\nHow data is sent\n\nHow errors are handled\n\nWhat happens if data is lost\n\n\nThese rules are called protocols.\nAt a very hi..."
url: "https://hashnode.com/posts/tcp-vs-udp/697c56c6e14573f347b1ca5e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TCP vs UDP: When to Use What, and How TCP Relates to HTTP](https://blog.jainviral.com/tcp-vs-udp?utm_source=hashnode&utm_medium=feed)

Start With the Big Idea The internet needs rules to send data. When one computer sends data to another, both sides must agree on: How data is sent How errors are handled What happens if data is lost These rules are called protocols. At a very hi...

Jan 30 · 4 min read · blog.jainviral.com  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)

## Written by

[Viral Jain](https://hashnode.com/@Viraljain754)

@Viraljain754

  
[View profile](https://hashnode.com/@Viraljain754)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
