Skip to content

This repository contains implementation of web socket connection and basic front end code to run and try it.

Notifications You must be signed in to change notification settings

bashu22tiwari/Web-Socket-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Socket-Implementation

This repository contains the implementation of the web socket connection and basic front-end code to run and try it.

-----------------------------------------------------------------------------------------------------------------------

To run it, Follow the below steps:

  1. Go into the Web-Socket-Implementation folder.
  2. Run : npm -i
  3. A Node module folder will be created in the same folder
  4. Then, Run: node injex.js to start the backend server
  5. After that, Open the index.html file in the browser.

-----------------------------------------------------------------------------------------------------------------------

After these steps, you can see a screen to send a message to the server. There you can send:

  1. HELLO
  2. GET_TIME
  3. GET_DATE
  4. GOODBYE

When you send it, you will receive a message via web socket.

About

This repository contains implementation of web socket connection and basic front end code to run and try it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published