---
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\". Learn the difference between TCP and UDP, when to use each protocol, and how HTTP relies on TCP. A beginner-friendly guide with real-world examples."
url: "https://hashnode.com/posts/tcp-vs-udp-when-to-use-what-and-how-tcp-relates-to-http/6970b6da1e4e903a6a5ad94d"
---

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

Discussion

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

Learn the difference between TCP and UDP, when to use each protocol, and how HTTP relies on TCP. A beginner-friendly guide with real-world examples.

Jan 21 · 15 min read · sumitsaroj.hashnode.dev  
Updated Jan 28  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#networking](https://hashnode.com/tag/networking)
-   [#tcp](https://hashnode.com/tag/tcp)
-   [#udp](https://hashnode.com/tag/udp)
-   [#computer-networks](https://hashnode.com/tag/computer-networks)
-   [#internet-protocol](https://hashnode.com/tag/internet-protocol)

## Written by

[Sumitraj Saroj](https://hashnode.com/@sumitsaroj)

@sumitsaroj · Maharashtra, India

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
