---
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\". Understand the difference between TCP and UDP, when to use each, and how HTTP runs on top of TCP in web communication."
url: "https://hashnode.com/posts/tcp-vs-udp-when-to-use-what-and-how-tcp-relates-to-http/6990dcf55f8bfc340b5d033f"
---

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

Discussion

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

Understand the difference between TCP and UDP, when to use each, and how HTTP runs on top of TCP in web communication.

Feb 14 · 4 min read · prashant-rathour.hashnode.dev  
Read the article

-   [#tcp](https://hashnode.com/tag/tcp)
-   [#udp](https://hashnode.com/tag/udp)
-   [#tcp-udp-networking-techexplained-protocols-datatransfer-webdevelopment-internettechnology-coding-programming-techinsights-networkprotocols-techtips-computerscience-techforbeginners](https://hashnode.com/tag/tcp-udp-networking-techexplained-protocols-datatransfer-webdevelopment-internettechnology-coding-programming-techinsights-networkprotocols-techtips-computerscience-techforbeginners)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Prashant Rathour](https://hashnode.com/@prashant-rathour)

@prashant-rathour

  
[View profile](https://hashnode.com/@prashant-rathour)

Aspiring Software Engineer | Learning, Building, Sharing

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
