---
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 does the internet need rules?\nWhen data travels across the internet, it doesn’t move as one solid piece.It’s broken into small parts, sent through different paths, and reassembled at the other end.\nWithout rules:\n\ndata could get lost\n\ndata could ..."
url: "https://hashnode.com/posts/tcp-vs-udp-when-to-use-what-and-how-tcp-relates-to-http/697db2f0b80169f6fb3dbafb"
---

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

Discussion

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

Why does the internet need rules? When data travels across the internet, it doesn’t move as one solid piece.It’s broken into small parts, sent through different paths, and reassembled at the other end. Without rules: data could get lost data could ...

Jan 31 · 4 min read · tcp-udp-guide.hashnode.dev  
Read the article

-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#tcp](https://hashnode.com/tag/tcp)
-   [#tcp-vs-udp](https://hashnode.com/tag/tcp-vs-udp)

## Written by

[Mohammed Mohsin](https://hashnode.com/@mohsin24)

@mohsin24

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
