MuhammedKAldin / Remote-Control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

websockets-skeleton

This is a skeleton websocket example. It consists of a "server" script (app.js) that runs in the Node.js environment, and typical "client" code in the public/ folder.

The example shows how to send a message from a client and have this distributed to every other client connected to the same server.

Setup

In the directory you've got this sample:

$ npm install

This will install the necessary packages from npm.

Running

Once set up, you can boot up your server with

$ npm start

It will continue running. To stop it again, press CTRL+C (PC) or CMD+C (Mac).

Uses

Read more

About

License:MIT License


Languages

Language:JavaScript 88.1%Language:HTML 6.5%Language:CSS 5.5%