Sign in

Understanding WebSockets

WebSockets is a full-duplex communication protocol that works in real-time, that has revolutionized business domains such as game development and online stock market trading in the modern age. It is a communication protocol, similar to HTTP, that works over a TCP connection, but it has significant differences that make it special for these applications. If you are looking for a great introduction to WebSockets or are looking forward to integrating WebSockets in your application in the future, this article will be a great resource for you.

First, let us look at the HTTP protocol, and understand what it is.

HTTP Request Response Cycle
HTTP Request Response Cycle
HTTP Request Response Cycle

HTTP…

Vineet Pande

Junior Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store