polemius / simple_ws_server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple WebSocket broadcast server

This simple WebSocket server listeting on port 8080 and broadcast all messages to clients except to the one how send this message.

Install:

$ git clone git@github.com:polemius/simple_ws_server.git
$ cd simple_ws_server
$ yarn install # or use npm

Run:

$ yarn start
Server on port 8080 is listening (press Ctrl+C to exit)
ws://localhost:8080

About

License:MIT License


Languages

Language:JavaScript 100.0%