- WebSockets Tutorial
- WebSockets – Home
- WebSockets Introduction
- WebSockets – Overview
- WebSockets - Duplex Communication
- WebSockets – Functionalities
- WebSockets – Implementation
- WebSockets Roles
- WebSockets – Events and Actions
- WebSockets – Opening Connections
- WebSockets – Handling Errors
- WebSockets - Send & Receive Msgs
- WebSockets – Closing a Connection
- JavaScript & WebSockets API
- WebSocket - Server Working
- WebSocket - API
- WebSockets – JavaScript Application
- WebSockets Implementation
- Communicating with Server
- WebSockets – Security
- WebSockets – Mobile APP
- WebSockets Useful Resources
- WebSockets – Quick Guide
- WebSockets – Useful Resources
- WebSockets – Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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.