Skip to content

mayank-sahai/socket-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSocket Server

This project is running a nodejs server in which we have implemented websocket protocol without using socket.io(or any other alternative).

Introduction

This WebSocket server allows communication between clients and the server using the WebSocket protocol. It handles WebSocket upgrade requests and manages WebSocket connections.

Features

  • Handles WebSocket upgrade requests
  • Supports WebSocket communication with clients
  • Parses WebSocket frames and messages

Installation

  1. Clone the repository:
git clone https://github.com/mayank-sahai/socket-js
  1. Install dependencies:
cd websocket-server
npm install

Usage

To use this WebSocket server, follow these steps:

  1. Start the server by
npm start 
  1. Open index.js in your browser it will straight away start the handshake and send/receive messages
  2. Check logs (if you want 😄 )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published