WebSockets Tutorial

WebSockets Tutorial

Web sockets are defined as a two-way communication between the servers and the clients, which mean both the parties, communicate and exchange data at the same time. This protocol defines a full duplex communication from the ground up. Web sockets take a step forward in bringing desktop rich functionalities to the web browsers. It represents an evolution, which was awaited for a long time in client/server web technology.

Audience

This tutorial has been prepared for anyone who has a basic knowledge of Protocols and understanding of HTTP. After completing this tutorial, you will find yourself at a moderate level of expertise in understanding what makes Web Sockets different from the traditional HTTP request/response pattern.

Prerequisites

Before you start proceeding with this tutorial, we are assuming that you are already aware about the basics of JavaScript and understanding of the HTTP protocol. If you are not well aware of these concepts, then we will suggest you to go through our short tutorials on JavaScript and HTTP.

Advertisements