view mrjunejune/src/blog/websocket-demystified/index.md @ 123:3f4ec30e42e0

Added blog files.
author June Park <parkjune1995@gmail.com>
date Thu, 08 Jan 2026 06:46:10 -0800
parents
children 3a564ffb2092
line wrap: on
line source

# Websocket Demystified 

Websocket has been around for more than 10 years now. (Its [RFC](https://www.rfc-editor.org/rfc/rfc6455) was created in 2011.). This was inevitable as apps got more complexed people wanted to create an application that can create bidirectional communicate with server, and not create hacky solutions that will create raw TCP connection between client and server with some keys or do some short/long polling. Now, this is the most widely used protocol for LLM chat usages or any chat usages as expected since LLM sends messages in a stream of bytes as it is predicting next words at a time. Many developers create websocket connection through