---
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\". The internet works because devices follow shared rules (protocols) for sending and receiving data across networks, much like cars follow traffic rules to avoid chaos on the road.\nAt the transport layer (one of the key layers in how data moves), two m..."
url: "https://hashnode.com/posts/tcp-vs-udp-when-to-use-what-and-how-tcp-relates-to-http/697f667560f4155d34f2d598"
---

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

Discussion

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

The internet works because devices follow shared rules (protocols) for sending and receiving data across networks, much like cars follow traffic rules to avoid chaos on the road. At the transport layer (one of the key layers in how data moves), two m...

Feb 1 · 4 min read · shalukashyap.hashnode.dev  
Read the article

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

## Written by

[Shalu Kashyap](https://hashnode.com/@shalukashyap)

@shalukashyap

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
