Skip to content

metalliclambda/simple-web-socket-server-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

simple-web-socket-server-client

its a simple web socket server and client to exchange data

Technologies :

  • ws

Requirements :

To run the project you need to have installed NodeJs, ws.

Run the app

First you should install node.js

Open terminal in the server folder.

// to install packages : $npm install

// to run the server : $npm start

// open the client html file in a browser. // now you can exchange data with server and watch them in both server and browser console.

// A counter has been put in the server and send it each second to show the realtime data stream.

// To stop the server : just press Ctrl+C in Terminal

About

its a simple web socket server and client to exchange data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published