---
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\". Why the Internet Needs Rules to Send Data\nThe internet is not a single wire. Data travels through many networks, routers, and servers.\nIf everyone sent data in their own way, communication would fail. This is why the internet relies on protocols—agre..."
url: "https://hashnode.com/posts/tcp-vs-udp-when-to-use-what-and-how-tcp-relates-to-http/697f972420e4834274ec288c"
---

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

Discussion

# [TCP vs UDP: When to Use What, and How TCP Relates to HTTP](https://tcp-v-udp-by-anunay.hashnode.dev/tcp-vs-udp-when-to-use-what-and-how-tcp-relates-to-http?utm_source=hashnode&utm_medium=feed)

Why the Internet Needs Rules to Send Data The internet is not a single wire. Data travels through many networks, routers, and servers. If everyone sent data in their own way, communication would fail. This is why the internet relies on protocols—agre...

Feb 1 · 3 min read · tcp-v-udp-by-anunay.hashnode.dev  
Read the article

-   [#tcp](https://hashnode.com/tag/tcp)
-   [#udp](https://hashnode.com/tag/udp)
-   [#tcpvsudp](https://hashnode.com/tag/tcpvsudp)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Anunay Abhishek](https://hashnode.com/@anunay-abhishek)

@anunay-abhishek

  
[View profile](https://hashnode.com/@anunay-abhishek)

From basics to better—one line of code at a time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
