---
title: "Discussion on \"You Don't Know WebSockets. Yet.\" | Hashnode"
description: "Discussion on \"You Don't Know WebSockets. Yet.\". WebSockets are deceptively simple af\nIf you’ve built a chat app recently (come to me and I will always give examples about chat apps) then you were kinda happy writing this code, and I know this.\n// Client-side JavaScript\nconst ws = new WebSocket('ws..."
url: "https://hashnode.com/posts/you-dont-know-websockets-yet/68ab5f116d77d80e9b148d7f"
---

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

Discussion

# [You Don't Know WebSockets. Yet.](https://rishi2220.hashnode.dev/you-dont-know-websockets-yet?utm_source=hashnode&utm_medium=feed)

WebSockets are deceptively simple af If you’ve built a chat app recently (come to me and I will always give examples about chat apps) then you were kinda happy writing this code, and I know this. // Client-side JavaScript const ws = new WebSocket('ws...

Aug 24, 2025 · 28 min read · rishi2220.hashnode.dev  
Read the article

-   [#websockets](https://hashnode.com/tag/websockets)
-   [#kafka](https://hashnode.com/tag/kafka)
-   [#c](https://hashnode.com/tag/c)
-   [#distributed-system](https://hashnode.com/tag/distributed-system)
-   [#tcp](https://hashnode.com/tag/tcp)
-   [#redis](https://hashnode.com/tag/redis)
-   [#pubsub](https://hashnode.com/tag/pubsub)

## Written by

[Rishi](https://hashnode.com/@rishi2220)

@rishi2220 · Jalandhar, Punjab, India

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

## Responses 1

Markdown supported · ⌘↵ to post

[Yashaswi Kumar Mishra](https://hashnode.com/@pixperk)

[Aug 25, 2025](https://hashnode.com/posts/you-dont-know-websockets-yet/68ab5f116d77d80e9b148d7f/comment/68abf766f89bf77464981cda)

very nice one rishi bhai
