---
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, UDP, and HTTP with simple examples. Understand how HTTP works on top of TCP and when to use each protocol."
url: "https://hashnode.com/posts/tcp-vs-udp-when-to-use-what-and-how-tcp-relates-to-http/697ccab345201edb3a09dc0e"
---

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

Discussion

# [TCP vs UDP: When to Use What, and How TCP Relates to HTTP](https://dipan-roy-choudhury.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, UDP, and HTTP with simple examples. Understand how HTTP works on top of TCP and when to use each protocol.

Jan 30 · 4 min read · dipan-roy-choudhury.hashnode.dev  
Read the article

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

## Written by

[Dipan Roy Choudhury](https://hashnode.com/@dipan-roy)

@dipan-roy

  
[View profile](https://hashnode.com/@dipan-roy)

Keep it Simple

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
